pub struct Superblock {
pub version_major: u16,
pub version_minor: u16,
pub feature_flags: u32,
pub hash_algo: u8,
pub compression_algo: u8,
pub asset_uuid: [u8; 16],
pub timescale: u32,
pub section_count: u32,
pub section_dir_offset: u64,
pub file_size: u64,
}Expand description
Superblock contents.
Fields§
§version_major: u16§version_minor: u16§feature_flags: u32§hash_algo: u8§compression_algo: u8§asset_uuid: [u8; 16]§timescale: u32§section_count: u32§section_dir_offset: u64§file_size: u64Trait Implementations§
Source§impl Clone for Superblock
impl Clone for Superblock
Source§fn clone(&self) -> Superblock
fn clone(&self) -> Superblock
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 moreAuto Trait Implementations§
impl Freeze for Superblock
impl RefUnwindSafe for Superblock
impl Send for Superblock
impl Sync for Superblock
impl Unpin for Superblock
impl UnsafeUnpin for Superblock
impl UnwindSafe for Superblock
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