pub struct DefaultLifecycle;Expand description
Default lifecycle implementation that does nothing.
This is used when no lifecycle hooks are needed.
Trait Implementations§
Source§impl Clone for DefaultLifecycle
impl Clone for DefaultLifecycle
Source§fn clone(&self) -> DefaultLifecycle
fn clone(&self) -> DefaultLifecycle
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 Debug for DefaultLifecycle
impl Debug for DefaultLifecycle
Source§impl Default for DefaultLifecycle
impl Default for DefaultLifecycle
Source§fn default() -> DefaultLifecycle
fn default() -> DefaultLifecycle
Returns the “default value” for a type. Read more
Source§impl Lifecycle for DefaultLifecycle
impl Lifecycle for DefaultLifecycle
impl Copy for DefaultLifecycle
Auto Trait Implementations§
impl Freeze for DefaultLifecycle
impl RefUnwindSafe for DefaultLifecycle
impl Send for DefaultLifecycle
impl Sync for DefaultLifecycle
impl Unpin for DefaultLifecycle
impl UnwindSafe for DefaultLifecycle
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