pub struct Init<T = (), M = ()>{ /* private fields */ }
Expand description
Marker struct for a field in the initialised state, optionally
containing more state in the form of another type S
, and a more
“general” type that can be “matched upon” in implementations, in T
Trait Implementations§
Auto Trait Implementations§
impl<T, M> Freeze for Init<T, M>
impl<T, M> RefUnwindSafe for Init<T, M>
impl<T, M> Send for Init<T, M>
impl<T, M> Sync for Init<T, M>
impl<T, M> Unpin for Init<T, M>
impl<T, M> UnwindSafe for Init<T, M>
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