#[non_exhaustive]pub struct Document {
pub header: Header,
pub tables: Tables,
pub blocks: Vec<Block>,
pub entities: Vec<Entity>,
pub names: Names,
pub stats: Stats,
}Expand description
a whole file
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.header: Header§tables: Tables§blocks: Vec<Block>§entities: Vec<Entity>§names: Names§stats: StatsImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Document
impl Freeze for Documentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Layer>: Freeze,
PhantomData<LinetypeDef>: Freeze,
PhantomData<StyleDef>: Freeze,
PhantomData<BlockRecord>: Freeze,
PhantomData<DimStyle>: Freeze,
PhantomData<Block>: Freeze,
PhantomData<Entity>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<Vec<u8>, u32> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Vec<u8>, u32)>>: Freeze,
*const LeafNode<(Where, String), u64> is !null: Freeze,
PhantomData<Box<((Where, String), u64)>>: Freeze,
impl Move for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Documentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Layer>: UnsafeUnpin,
PhantomData<LinetypeDef>: UnsafeUnpin,
PhantomData<StyleDef>: UnsafeUnpin,
PhantomData<BlockRecord>: UnsafeUnpin,
PhantomData<DimStyle>: UnsafeUnpin,
PhantomData<Block>: UnsafeUnpin,
PhantomData<Entity>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<Vec<u8>, u32> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Vec<u8>, u32)>>: UnsafeUnpin,
*const LeafNode<(Where, String), u64> is !null: UnsafeUnpin,
PhantomData<Box<((Where, String), u64)>>: UnsafeUnpin,
impl UnwindSafe for Documentwhere
RawVecInner: UnwindSafe,
BoxRaw<MText>: UnwindSafe,
BTreeMap<Vec<u8>, u32>: UnwindSafe,
BTreeMap<(Where, String), u64>: 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