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§
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> Erased for T
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.