pub struct ValueReadAccess<'a, T: 'a + ?Sized> { /* private fields */ }
Implementations§
Source§impl<'a, T: ?Sized> ValueReadAccess<'a, T>
impl<'a, T: ?Sized> ValueReadAccess<'a, T>
Sourcepub unsafe fn new_raw(data: &'a T, lifetime: LifetimeState) -> Self
pub unsafe fn new_raw(data: &'a T, lifetime: LifetimeState) -> Self
§Safety
Trait Implementations§
Source§impl<'a, T: ?Sized> Deref for ValueReadAccess<'a, T>
impl<'a, T: ?Sized> Deref for ValueReadAccess<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ValueReadAccess<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for ValueReadAccess<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for ValueReadAccess<'a, T>
impl<'a, T> Sync for ValueReadAccess<'a, T>
impl<'a, T> Unpin for ValueReadAccess<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for ValueReadAccess<'a, T>where
T: RefUnwindSafe + ?Sized,
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