pub struct DemoTicker<'a, A: MessageHandler> { /* private fields */ }
Implementations§
Source§impl<A: MessageHandler> DemoTicker<'_, A>
impl<A: MessageHandler> DemoTicker<'_, A>
Source§impl<A: MessageHandler + BorrowMessageHandler> DemoTicker<'_, A>
impl<A: MessageHandler + BorrowMessageHandler> DemoTicker<'_, A>
Trait Implementations§
Source§impl<'a, A: Clone + MessageHandler> Clone for DemoTicker<'a, A>
impl<'a, A: Clone + MessageHandler> Clone for DemoTicker<'a, A>
Source§fn clone(&self) -> DemoTicker<'a, A>
fn clone(&self) -> DemoTicker<'a, A>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, A> !Freeze for DemoTicker<'a, A>
impl<'a, A> !RefUnwindSafe for DemoTicker<'a, A>
impl<'a, A> !Send for DemoTicker<'a, A>
impl<'a, A> !Sync for DemoTicker<'a, A>
impl<'a, A> Unpin for DemoTicker<'a, A>where
A: Unpin,
impl<'a, A> UnwindSafe for DemoTicker<'a, A>where
A: 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> 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