pub struct PackedField {
pub size: u32,
pub align: u32,
pub class: usize,
pub same_low_mask: u64,
}Fields§
§size: u32Slot size class in bytes (1/2/4/8). Heap refs are the 4-byte class.
align: u32§class: usizeIndex into CLASS_SIZES for this field’s class.
same_low_mask: u64Bits of class_masks[class] for positions strictly before this field;
its popcount gives the field’s rank within its class.
Trait Implementations§
Source§impl Clone for PackedField
impl Clone for PackedField
Source§fn clone(&self) -> PackedField
fn clone(&self) -> PackedField
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 Debug for PackedField
impl Debug for PackedField
impl Eq for PackedField
Source§impl PartialEq for PackedField
impl PartialEq for PackedField
impl StructuralPartialEq for PackedField
Auto Trait Implementations§
impl Freeze for PackedField
impl RefUnwindSafe for PackedField
impl Send for PackedField
impl Sync for PackedField
impl Unpin for PackedField
impl UnsafeUnpin for PackedField
impl UnwindSafe for PackedField
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