pub struct Header {
pub slab_count: usize,
pub root_json_slab_index: usize,
}Expand description
Decoded form of the 20-byte fixed header.
Fields§
§slab_count: usizeTotal number of slabs in the file (including the root JSON slab).
root_json_slab_index: usizeSlab table index of the root JSON skeleton slab. Guaranteed to be
less than slab_count when produced by Header::parse.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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