pub struct Debug<Upstream>where
Upstream: SignalMap,{ /* private fields */ }Expand description
Signal graph node that debug logs its upstream’s “raw” Vec<MapDiff>s, see
.debug.
Trait Implementations§
Source§impl<Upstream> SignalMap for Debug<Upstream>where
Upstream: SignalMap,
impl<Upstream> SignalMap for Debug<Upstream>where
Upstream: SignalMap,
Auto Trait Implementations§
impl<Upstream> Freeze for Debug<Upstream>where
Upstream: Freeze,
impl<Upstream> RefUnwindSafe for Debug<Upstream>where
Upstream: RefUnwindSafe,
impl<Upstream> Send for Debug<Upstream>
impl<Upstream> Sync for Debug<Upstream>
impl<Upstream> Unpin for Debug<Upstream>where
Upstream: Unpin,
impl<Upstream> UnwindSafe for Debug<Upstream>where
Upstream: UnwindSafe,
Blanket Implementations§
Source§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> 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> IntoSignalMapEither for Twhere
T: SignalMap,
impl<T> IntoSignalMapEither for Twhere
T: SignalMap,
Source§fn left_either<R>(self) -> SignalMapEither<Self, R>where
R: SignalMap,
fn left_either<R>(self) -> SignalMapEither<Self, R>where
R: SignalMap,
Source§fn right_either<L>(self) -> SignalMapEither<L, Self>where
L: SignalMap,
fn right_either<L>(self) -> SignalMapEither<L, Self>where
L: SignalMap,
Source§impl<T> SignalMapExt for T
impl<T> SignalMapExt for T
Source§fn for_each<O, IOO, F, M>(self, system: F) -> ForEach<Self, O>
fn for_each<O, IOO, F, M>(self, system: F) -> ForEach<Self, O>
Pass the “raw”
Vec<MapDiff<Self::Key, Self::Value>> output of this SignalMap to a
System, continuing propagation if the System returns Some or terminating for the
frame if it returns None. This transforms the SignalMap into a Signal. Unlike most
other SignalMap methods, .for_each, returns a Signal,
not a SignalMap, since the output type need not be an Option<Vec<MapDiff>>. If the
System logic is infallible, wrapping the result in an option is unnecessary.Source§fn map_value_signal<S, F, M>(self, system: F) -> MapValueSignal<Self, S>
fn map_value_signal<S, F, M>(self, system: F) -> MapValueSignal<Self, S>
Source§fn boxed_clone(
self,
) -> Box<dyn SignalMapDynClone<Key = Self::Key, Value = Self::Value> + Send + Sync>
fn boxed_clone( self, ) -> Box<dyn SignalMapDynClone<Key = Self::Key, Value = Self::Value> + Send + Sync>
Erases the type of this
SignalMap, allowing it to be used in conjunction with
SignalMaps of other concrete types, particularly in cases where the consumer requires
Clone, e.g. .switch_signal_map. Read moreSource§fn register(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
fn register(self, world: &mut World) -> SignalHandlewhere
Self: Sized,
Activate this
SignalMap and all its upstreams, causing them to be evaluated every frame
until they are SignalHandle::cleanup-ed, see SignalHandle.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.