pub struct Setter<T>where
T: Send + 'static,{ /* private fields */ }Expand description
Send write-only handle to a signal; delivery hops to the UI thread via the main poster.
Writes after disposal are silent no-ops (§4.3).
Implementations§
Trait Implementations§
impl<T> Copy for Setter<T>where
T: Send + 'static,
Auto Trait Implementations§
impl<T> Freeze for Setter<T>
impl<T> RefUnwindSafe for Setter<T>
impl<T> Send for Setter<T>
impl<T> Sync for Setter<T>
impl<T> Unpin for Setter<T>
impl<T> UnsafeUnpin for Setter<T>
impl<T> UnwindSafe for Setter<T>
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> 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