pub struct StructPlan {
pub reader_type: u16,
pub writer_type: u16,
pub writer_packed: bool,
pub fields: Vec<FieldPlan>,
}Fields§
§reader_type: u16Index of the corresponding struct in the reader schema.
writer_type: u16Index of the corresponding struct in the writer schema.
writer_packed: boolWhether the writer struct uses the packed layout (offsets are dynamic).
fields: Vec<FieldPlan>Parallel to the reader struct’s ID-sorted fields.
Trait Implementations§
Source§impl Clone for StructPlan
impl Clone for StructPlan
Source§fn clone(&self) -> StructPlan
fn clone(&self) -> StructPlan
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 StructPlan
impl RefUnwindSafe for StructPlan
impl Send for StructPlan
impl Sync for StructPlan
impl Unpin for StructPlan
impl UnsafeUnpin for StructPlan
impl UnwindSafe for StructPlan
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