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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for VariantOffsetsWithMetazoneMembershipKind
Available on crate feature serde only.
impl<'de> Deserialize<'de> for VariantOffsetsWithMetazoneMembershipKind
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for VariantOffsetsWithMetazoneMembershipKind
impl Ord for VariantOffsetsWithMetazoneMembershipKind
Source§fn cmp(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> Ordering
fn cmp(&self, other: &VariantOffsetsWithMetazoneMembershipKind) -> Ordering
1.21.0 · 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
Source§impl Serialize for VariantOffsetsWithMetazoneMembershipKind
Available on crate features alloc and serde only.
impl Serialize for VariantOffsetsWithMetazoneMembershipKind
Available on crate features
alloc and serde only.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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more