pub struct IfBuilder<T>(/* private fields */);Expand description
A SystemParamBuilder for a If.
Trait Implementations§
Source§impl<P: SystemParam, B: SystemParamBuilder<P>> SystemParamBuilder<If<P>> for IfBuilder<B>
impl<P: SystemParam, B: SystemParamBuilder<P>> SystemParamBuilder<If<P>> for IfBuilder<B>
Source§fn build(self, world: &mut World) -> <If<P> as SystemParam>::State
fn build(self, world: &mut World) -> <If<P> as SystemParam>::State
Registers any
World access used by this SystemParam
and creates a new instance of this param’s State.Source§fn build_state(self, world: &mut World) -> SystemState<P>
fn build_state(self, world: &mut World) -> SystemState<P>
Create a
SystemState from a SystemParamBuilder.
To create a system, call SystemState::build_system on the result.Auto Trait Implementations§
impl<T> Freeze for IfBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for IfBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for IfBuilder<T>where
T: Send,
impl<T> Sync for IfBuilder<T>where
T: Sync,
impl<T> Unpin for IfBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for IfBuilder<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.