Struct static_init::lazy::locked_lazy_droped::ReadGuard
source · pub struct ReadGuard<'a, T>(/* private fields */);
Trait Implementations§
source§impl<'a, T> From<WriteGuard<'a, T>> for ReadGuard<'a, T>
impl<'a, T> From<WriteGuard<'a, T>> for ReadGuard<'a, T>
source§fn from(that: WriteGuard<'a, T>) -> Self
fn from(that: WriteGuard<'a, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, T> Freeze for ReadGuard<'a, T>
impl<'a, T> !RefUnwindSafe for ReadGuard<'a, T>
impl<'a, T> !Send for ReadGuard<'a, T>
impl<'a, T> !Sync for ReadGuard<'a, T>
impl<'a, T> Unpin for ReadGuard<'a, T>
impl<'a, T> !UnwindSafe for ReadGuard<'a, 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)