pub enum FieldSource {
Absent,
Slot {
offset: u32,
presence_byte: u32,
presence_mask: u8,
load: Load,
},
Packed {
writer_pos: u32,
load: Load,
},
}Variants§
Absent
Field does not exist in the writer schema: reader sees None.
Slot
Field lives at a constant offset (fixed/dense writer struct).
Fields
Packed
Field lives in a packed writer struct: its presence bit and byte
offset are recovered from the per-message bitmap via the writer’s
crate::layout::PackedLayout (looked up by the plan’s writer_type).
Trait Implementations§
Source§impl Clone for FieldSource
impl Clone for FieldSource
Source§fn clone(&self) -> FieldSource
fn clone(&self) -> FieldSource
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 moreAuto Trait Implementations§
impl Freeze for FieldSource
impl RefUnwindSafe for FieldSource
impl Send for FieldSource
impl Sync for FieldSource
impl Unpin for FieldSource
impl UnsafeUnpin for FieldSource
impl UnwindSafe for FieldSource
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