pub struct Init<'a, T> { /* private fields */ }
Expand description
A safe wrapper to initialise potentially uninitialised data.
Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Init<'a, T>
impl<'a, T> RefUnwindSafe for Init<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for Init<'a, T>
impl<'a, T> !Sync for Init<'a, T>
impl<'a, T> Unpin for Init<'a, T>
impl<'a, T> UnwindSafe for Init<'a, 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