#[repr(C)]pub struct Header {Show 24 fields
pub magic: [u8; 4],
pub version: u32,
pub flags: u64,
pub entry_count: u64,
pub unique_hash_count: u64,
pub sample_count: u32,
pub bucket_count: u16,
pub bucket_bits: u8,
pub entry_size: u8,
pub hash_threshold: u64,
pub kmer_size: u8,
pub _param_reserved: [u8; 7],
pub bucket_table_offset: u64,
pub entries_offset: u64,
pub filters_offset: u64,
pub bias_table_offset: u64,
pub entries_size: u64,
pub filters_size: u64,
pub bias_table_size: u64,
pub sample_names_offset: u64,
pub sample_names_size: u64,
pub sample_sizes_offset: u64,
pub sample_sizes_size: u64,
pub _padding: [u8; 16],
}Fields§
§magic: [u8; 4]§version: u32§flags: u64§entry_count: u64§unique_hash_count: u64§sample_count: u32§bucket_count: u16§bucket_bits: u8§entry_size: u8§hash_threshold: u64§kmer_size: u8§_param_reserved: [u8; 7]§bucket_table_offset: u64§entries_offset: u64§filters_offset: u64§bias_table_offset: u64§entries_size: u64§filters_size: u64§bias_table_size: u64§sample_names_offset: u64§sample_names_size: u64§sample_sizes_offset: u64§sample_sizes_size: u64§_padding: [u8; 16]Implementations§
Trait Implementations§
impl Copy for Header
impl Pod for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin 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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more