pub struct ArchivedBitMask<const N: usize>(pub Archived<u64>)
where
u64: Archive;Expand description
An archived BitMask
Tuple Fields§
§0: Archived<u64>The archived counterpart of BitMask::0
Trait Implementations§
Source§impl<const N: usize> Clone for ArchivedBitMask<N>
impl<const N: usize> Clone for ArchivedBitMask<N>
Source§fn clone(&self) -> ArchivedBitMask<N>
fn clone(&self) -> ArchivedBitMask<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const N: usize> Copy for ArchivedBitMask<N>
Source§impl<const N: usize> Debug for ArchivedBitMask<N>
impl<const N: usize> Debug for ArchivedBitMask<N>
impl<const N: usize> Eq for ArchivedBitMask<N>
Source§impl<const N: usize> Hash for ArchivedBitMask<N>
impl<const N: usize> Hash for ArchivedBitMask<N>
Source§impl<const N: usize> PartialEq for ArchivedBitMask<N>
impl<const N: usize> PartialEq for ArchivedBitMask<N>
impl<const N: usize> StructuralPartialEq for ArchivedBitMask<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ArchivedBitMask<N>
impl<const N: usize> RefUnwindSafe for ArchivedBitMask<N>
impl<const N: usize> Send for ArchivedBitMask<N>
impl<const N: usize> Sync for ArchivedBitMask<N>
impl<const N: usize> Unpin for ArchivedBitMask<N>
impl<const N: usize> UnsafeUnpin for ArchivedBitMask<N>
impl<const N: usize> UnwindSafe for ArchivedBitMask<N>
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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