pub struct NodeLayout {
pub node_type: u16,
pub name: String,
pub fields: Vec<FieldDef>,
pub delta: Option<String>,
pub delta_binary: Option<Vec<u8>>,
}Expand description
The field layout of one node type as this file writes it.
Fields§
§node_type: u16§name: String§fields: Vec<FieldDef>§delta: Option<String>The layout’s description as a text file writes it at the type’s
first node (a field count and edit script, or 255 ), when the file
carries one: what a writer of the same schema writes again.
delta_binary: Option<Vec<u8>>The same, as a binary file writes it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for NodeLayout
impl Freeze for NodeLayout
impl Move for NodeLayout
impl RefUnwindSafe for NodeLayout
impl Send for NodeLayoutwhere
RawVecInner: Send,
impl Sync for NodeLayoutwhere
RawVecInner: Sync,
impl Unpin for NodeLayout
impl UnsafeUnpin for NodeLayoutwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FieldDef>: UnsafeUnpin,
impl UnwindSafe for NodeLayoutwhere
RawVecInner: UnwindSafe,
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