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