pub struct GlobalWrapper<S: 'static> { /* private fields */ }Trait Implementations§
Source§impl<S: Clone + 'static> Clone for GlobalWrapper<S>
impl<S: Clone + 'static> Clone for GlobalWrapper<S>
Source§fn clone(&self) -> GlobalWrapper<S>
fn clone(&self) -> GlobalWrapper<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug + 'static> Debug for GlobalWrapper<S>
impl<S: Debug + 'static> Debug for GlobalWrapper<S>
Source§impl<S, T> From<GlobalWrapper<S>> for Signal<T>
impl<S, T> From<GlobalWrapper<S>> for Signal<T>
Source§fn from(val: GlobalWrapper<S>) -> Self
fn from(val: GlobalWrapper<S>) -> Self
Converts to this type from the input type.
Source§impl<S, T> SignalBase<T> for GlobalWrapper<S>where
S: SignalBase<T>,
impl<S, T> SignalBase<T> for GlobalWrapper<S>where
S: SignalBase<T>,
Source§impl<S, T> SignalGetter<T> for GlobalWrapper<S>where
S: SignalGetter<T>,
T: Clone + 'static,
impl<S, T> SignalGetter<T> for GlobalWrapper<S>where
S: SignalGetter<T>,
T: Clone + 'static,
Source§impl<S, T> SignalSetter<T> for GlobalWrapper<S>
impl<S, T> SignalSetter<T> for GlobalWrapper<S>
Source§impl<S, T> SignalUpdater<T> for GlobalWrapper<S>where
S: Copy + SignalUpdater<T>,
T: 'static,
impl<S, T> SignalUpdater<T> for GlobalWrapper<S>where
S: Copy + SignalUpdater<T>,
T: 'static,
Source§fn update<U>(&self, updater: impl FnOnce(&mut T) -> U) -> U
fn update<U>(&self, updater: impl FnOnce(&mut T) -> U) -> U
Updates the signal value without cloning it using the provided updater function and notifies all dependencies.
This will happen, no matter if the value acually changed or not. Read more
Source§fn set_unchecked(&self, value: impl Into<T>)
fn set_unchecked(&self, value: impl Into<T>)
Sets the value of the signal and notifies all its dependencies. Read more
impl Collect for GlobalWrapper<Effect>
impl<S: Copy + 'static> Copy for GlobalWrapper<S>
Auto Trait Implementations§
impl<S> Freeze for GlobalWrapper<S>
impl<S> RefUnwindSafe for GlobalWrapper<S>
impl<S> Send for GlobalWrapper<S>
impl<S> Sync for GlobalWrapper<S>
impl<S> Unpin for GlobalWrapper<S>
impl<S> UnsafeUnpin for GlobalWrapper<S>
impl<S> UnwindSafe for GlobalWrapper<S>
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