Struct hex_coordinates::Immutable
source · [−]pub struct Immutable<T>(_);
Expand description
A wrapper to make a field immutable.
Implementations
Trait Implementations
sourceimpl<T: PartialEq> PartialEq<Immutable<T>> for Immutable<T>
impl<T: PartialEq> PartialEq<Immutable<T>> for Immutable<T>
impl<T: Copy> Copy for Immutable<T>
impl<T: Eq> Eq for Immutable<T>
impl<T> StructuralEq for Immutable<T>
impl<T> StructuralPartialEq for Immutable<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Immutable<T> where
T: RefUnwindSafe,
impl<T> Send for Immutable<T> where
T: Send,
impl<T> Sync for Immutable<T> where
T: Sync,
impl<T> Unpin for Immutable<T> where
T: Unpin,
impl<T> UnwindSafe for Immutable<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more