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 NodeLayout
impl Sync for NodeLayout
impl Unpin for NodeLayout
impl UnsafeUnpin for NodeLayout
impl UnwindSafe for NodeLayout
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