Struct rustc_data_structures::frozen::Frozen
source · pub struct Frozen<T>(T);
Expand description
An owned immutable value.
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Frozen<T>where T: RefUnwindSafe,
impl<T> Send for Frozen<T>where T: Send,
impl<T> Sync for Frozen<T>where T: Sync,
impl<T> Unpin for Frozen<T>where T: Unpin,
impl<T> UnwindSafe for Frozen<T>where T: UnwindSafe,
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
impl<'a, T> Captures<'a> for Twhere T: ?Sized,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.