pub struct FrozenUnit<'d, U: Unit>(/* private fields */);Expand description
A unit whose value cannot be updated.
Implementations§
Auto Trait Implementations§
impl<'d, U> Freeze for FrozenUnit<'d, U>
impl<'d, U> RefUnwindSafe for FrozenUnit<'d, U>where
U: RefUnwindSafe,
impl<'d, U> Send for FrozenUnit<'d, U>where
U: Sync,
impl<'d, U> Sync for FrozenUnit<'d, U>where
U: Sync,
impl<'d, U> Unpin for FrozenUnit<'d, U>
impl<'d, U> UnwindSafe for FrozenUnit<'d, U>where
U: RefUnwindSafe,
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