pub struct Plain<T: 'static> { /* private fields */ }Expand description
A guard that provides access to a signal’s inner value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Plain<T>
impl<T> RefUnwindSafe for Plain<T>where
T: RefUnwindSafe,
impl<T> !Send for Plain<T>
impl<T> Sync for Plain<T>
impl<T> Unpin for Plain<T>
impl<T> UnwindSafe for Plain<T>where
T: RefUnwindSafe,
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> 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> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.