pub struct Expose<'a, T: ?Sized>(pub &'a T);Expand description
Immutable view into a secret value
Tuple Fields§
§0: &'a TImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Expose<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for Expose<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for Expose<'a, T>
impl<'a, T> Sync for Expose<'a, T>
impl<'a, T> Unpin for Expose<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for Expose<'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