pub struct VariantOffsetsWithMetazoneMembershipKind {
pub offsets: VariantOffsets,
pub mzmsk: MetazoneMembershipKind,
}Expand description
A VariantOffsets and a MetazoneMembershipKind packed into one byte.
Fields§
§offsets: VariantOffsetsThe offsets. Currently uses 3 bits.
mzmsk: MetazoneMembershipKindMetazone membership metadata. Currently uses 2 bits.
Trait Implementations§
Source§impl Clone for VariantOffsetsWithMetazoneMembershipKind
impl Clone for VariantOffsetsWithMetazoneMembershipKind
Source§fn clone(&self) -> VariantOffsetsWithMetazoneMembershipKind
fn clone(&self) -> VariantOffsetsWithMetazoneMembershipKind
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 moreSource§impl Ord for VariantOffsetsWithMetazoneMembershipKind
impl Ord for VariantOffsetsWithMetazoneMembershipKind
Source§fn cmp(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> Ordering
fn cmp(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VariantOffsetsWithMetazoneMembershipKind
impl PartialEq for VariantOffsetsWithMetazoneMembershipKind
Source§fn eq(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> bool
fn eq(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VariantOffsetsWithMetazoneMembershipKind
impl PartialOrd for VariantOffsetsWithMetazoneMembershipKind
impl Copy for VariantOffsetsWithMetazoneMembershipKind
impl Eq for VariantOffsetsWithMetazoneMembershipKind
impl StructuralPartialEq for VariantOffsetsWithMetazoneMembershipKind
Auto Trait Implementations§
impl Freeze for VariantOffsetsWithMetazoneMembershipKind
impl RefUnwindSafe for VariantOffsetsWithMetazoneMembershipKind
impl Send for VariantOffsetsWithMetazoneMembershipKind
impl Sync for VariantOffsetsWithMetazoneMembershipKind
impl Unpin for VariantOffsetsWithMetazoneMembershipKind
impl UnsafeUnpin for VariantOffsetsWithMetazoneMembershipKind
impl UnwindSafe for VariantOffsetsWithMetazoneMembershipKind
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