pub struct RwSignalField<M, T>{ /* private fields */ }Implementations§
Trait Implementations§
Source§impl<M, T> Clone for RwSignalField<M, T>
impl<M, T> Clone for RwSignalField<M, T>
Source§impl<M, T> Default for RwSignalField<M, T>
impl<M, T> Default for RwSignalField<M, T>
Source§impl<M, T> Field for RwSignalField<M, T>
impl<M, T> Field for RwSignalField<M, T>
Source§impl<M, T> SignalGet for RwSignalField<M, T>
impl<M, T> SignalGet for RwSignalField<M, T>
Source§impl<M, T> SignalGetUntracked for RwSignalField<M, T>
impl<M, T> SignalGetUntracked for RwSignalField<M, T>
Source§fn get_untracked(&self) -> Self::Value
fn get_untracked(&self) -> Self::Value
Gets the signal’s value without creating a dependency on the
current scope. Read more
Source§impl<M, T> SignalSet for RwSignalField<M, T>
impl<M, T> SignalSet for RwSignalField<M, T>
Source§impl<M, T> SignalSetUntracked<T> for RwSignalField<M, T>
impl<M, T> SignalSetUntracked<T> for RwSignalField<M, T>
Source§fn set_untracked(&self, new_value: T)
fn set_untracked(&self, new_value: T)
Sets the signal’s value without notifying dependents.
Source§fn try_set_untracked(&self, new_value: T) -> Option<T>
fn try_set_untracked(&self, new_value: T) -> Option<T>
Attempts to set the signal if it’s still valid. Returns
None
if the signal was set, [Some(T)] otherwise.Source§impl<M, T> SignalUpdate for RwSignalField<M, T>
impl<M, T> SignalUpdate for RwSignalField<M, T>
Source§impl<M, T> SignalUpdateUntracked<T> for RwSignalField<M, T>
impl<M, T> SignalUpdateUntracked<T> for RwSignalField<M, T>
Source§fn update_untracked(&self, f: impl FnOnce(&mut T))
fn update_untracked(&self, f: impl FnOnce(&mut T))
Runs the provided closure with a mutable reference to the current
value without notifying dependents.
Source§impl<M, T> SignalWith for RwSignalField<M, T>
impl<M, T> SignalWith for RwSignalField<M, T>
Source§impl<M, T> SignalWithUntracked for RwSignalField<M, T>
impl<M, T> SignalWithUntracked for RwSignalField<M, T>
impl<M, T> Copy for RwSignalField<M, T>
Auto Trait Implementations§
impl<M, T> Freeze for RwSignalField<M, T>
impl<M, T> RefUnwindSafe for RwSignalField<M, T>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<M, T> Send for RwSignalField<M, T>
impl<M, T> Sync for RwSignalField<M, T>
impl<M, T> Unpin for RwSignalField<M, T>
impl<M, T> UnwindSafe for RwSignalField<M, T>where
M: UnwindSafe,
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more