pub struct SectionMeta {
pub kind: u16,
pub len: u64,
pub hash: u64,
}Expand description
One section’s size and checksum, computed in the streaming writer’s
first pass (see build_prefix).
Fields§
§kind: u16Section kind tag (unique per file).
len: u64Section body length in bytes (before alignment padding).
hash: u64xxh3 of the section body.
Trait Implementations§
Source§impl Clone for SectionMeta
impl Clone for SectionMeta
Source§fn clone(&self) -> SectionMeta
fn clone(&self) -> SectionMeta
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 moreimpl Copy for SectionMeta
Auto Trait Implementations§
impl Freeze for SectionMeta
impl RefUnwindSafe for SectionMeta
impl Send for SectionMeta
impl Sync for SectionMeta
impl Unpin for SectionMeta
impl UnsafeUnpin for SectionMeta
impl UnwindSafe for SectionMeta
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