pub struct MapNone<Upstream, O> { /* private fields */ }Expand description
Trait Implementations§
Source§impl<Upstream, O> Signal for MapNone<Upstream, O>where
Upstream: Signal,
O: 'static,
impl<Upstream, O> Signal for MapNone<Upstream, O>where
Upstream: Signal,
O: 'static,
Source§fn register_boxed_signal(self: Box<Self>, world: &mut World) -> SignalHandle
fn register_boxed_signal(self: Box<Self>, world: &mut World) -> SignalHandle
Source§fn register_signal(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
fn register_signal(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
Auto Trait Implementations§
impl<Upstream, O> Freeze for MapNone<Upstream, O>
impl<Upstream, O> RefUnwindSafe for MapNone<Upstream, O>
impl<Upstream, O> Send for MapNone<Upstream, O>
impl<Upstream, O> Sync for MapNone<Upstream, O>
impl<Upstream, O> Unpin for MapNone<Upstream, O>
impl<Upstream, O> UnwindSafe for MapNone<Upstream, O>
Blanket Implementations§
Source§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.
Source§impl<T> IntoSignalEither for Twhere
T: Signal,
impl<T> IntoSignalEither for Twhere
T: Signal,
Source§fn left_either<R>(self) -> SignalEither<Self, R>where
R: Signal,
fn left_either<R>(self) -> SignalEither<Self, R>where
R: Signal,
Source§fn right_either<L>(self) -> SignalEither<L, Self>where
L: Signal,
fn right_either<L>(self) -> SignalEither<L, Self>where
L: Signal,
Source§impl<T> SignalExt for T
impl<T> SignalExt for T
Source§fn map_in_ref<O, IOO, F>(self, function: F) -> Map<Self, O>
fn map_in_ref<O, IOO, F>(self, function: F) -> Map<Self, O>
Source§fn component<C>(self) -> MapComponent<Self, C>
fn component<C>(self) -> MapComponent<Self, C>
Source§fn component_option<C>(self) -> ComponentOption<Self, C>
fn component_option<C>(self) -> ComponentOption<Self, C>
Source§fn component_changed<C>(self) -> ComponentChanged<Self, C>
fn component_changed<C>(self) -> ComponentChanged<Self, C>
Source§fn has_component<C>(self) -> HasComponent<Self, C>
fn has_component<C>(self) -> HasComponent<Self, C>
Source§fn filter<M>(
self,
predicate: impl IntoSystem<In<Self::Item>, bool, M> + Send + Sync + 'static,
) -> Filter<Self>
fn filter<M>( self, predicate: impl IntoSystem<In<Self::Item>, bool, M> + Send + Sync + 'static, ) -> Filter<Self>
Source§fn switch_signal_vec<S, F, M>(self, switcher: F) -> SwitchSignalVec<Self, S>
fn switch_signal_vec<S, F, M>(self, switcher: F) -> SwitchSignalVec<Self, S>
Source§fn switch_signal_map<S, F, M>(self, switcher: F) -> SwitchSignalMap<Self, S>
fn switch_signal_map<S, F, M>(self, switcher: F) -> SwitchSignalMap<Self, S>
Source§fn map_bool<O, IOO, TF, FF, TM, FM>(
self,
true_system: TF,
false_system: FF,
) -> MapBool<Self, O>
fn map_bool<O, IOO, TF, FF, TM, FM>( self, true_system: TF, false_system: FF, ) -> MapBool<Self, O>
Source§fn map_bool_in<O, IOO, TF, FF>(
self,
true_fn: TF,
false_fn: FF,
) -> MapBool<Self, O>
fn map_bool_in<O, IOO, TF, FF>( self, true_fn: TF, false_fn: FF, ) -> MapBool<Self, O>
Source§fn map_true_in<O, F>(self, function: F) -> MapTrue<Self, O>
fn map_true_in<O, F>(self, function: F) -> MapTrue<Self, O>
Source§fn map_false_in<O, F>(self, function: F) -> MapFalse<Self, O>
fn map_false_in<O, F>(self, function: F) -> MapFalse<Self, O>
Source§fn map_option<I, O, IOO, SF, NF, SM, NM>(
self,
some_system: SF,
none_system: NF,
) -> MapOption<Self, O>
fn map_option<I, O, IOO, SF, NF, SM, NM>( self, some_system: SF, none_system: NF, ) -> MapOption<Self, O>
Source§fn map_option_in<I, O, IOO, SF, NF>(
self,
some_fn: SF,
none_fn: NF,
) -> MapOption<Self, O>
fn map_option_in<I, O, IOO, SF, NF>( self, some_fn: SF, none_fn: NF, ) -> MapOption<Self, O>
Source§fn map_some_in<I, O, F>(self, function: F) -> MapSome<Self, O>
fn map_some_in<I, O, F>(self, function: F) -> MapSome<Self, O>
Source§fn map_none_in<I, O, F>(self, function: F) -> MapNone<Self, O>
fn map_none_in<I, O, F>(self, function: F) -> MapNone<Self, O>
Source§fn to_signal_vec<T>(self) -> ToSignalVec<Self>
fn to_signal_vec<T>(self) -> ToSignalVec<Self>
Source§fn boxed_clone(self) -> Box<dyn SignalDynClone<Item = Self::Item> + Send + Sync>
fn boxed_clone(self) -> Box<dyn SignalDynClone<Item = Self::Item> + Send + Sync>
Source§fn schedule<Sched: ScheduleLabel + Default + 'static>(
self,
) -> Scheduled<Sched, Self::Item>where
Self: Sized + 'static,
fn schedule<Sched: ScheduleLabel + Default + 'static>(
self,
) -> Scheduled<Sched, Self::Item>where
Self: Sized + 'static,
Assign a schedule to this signal chain. Read more
Source§fn register(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
fn register(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
Activate this
Signal and all its upstreams, causing them to be evaluated
every frame until they are SignalHandle::cleanup-ed, see SignalHandle.Source§impl<S> SignalTaskExt for S
impl<S> SignalTaskExt for S
Source§fn task(self) -> Box<dyn SignalTask>
fn task(self) -> Box<dyn SignalTask>
Convert this signal into a type-erased
SignalTask for use with
Builder::hold_tasks.Source§impl<T> TypeData for T
impl<T> TypeData for T
Source§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of this value.