pub struct BBIHeader {
pub endianness: Endianness,
pub version: u16,
pub field_count: u16,
pub defined_field_count: u16,
/* private fields */
}
Expand description
Header info for a bbi file
Note that info on internal properties like file offsets are not public. Reading data is available through higher-level functions.
Fields§
§endianness: Endianness
§version: u16
§field_count: u16
§defined_field_count: u16
Implementations§
Source§impl BBIHeader
impl BBIHeader
pub fn is_compressed(&self) -> bool
pub fn primary_data_size(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BBIHeader
impl RefUnwindSafe for BBIHeader
impl Send for BBIHeader
impl Sync for BBIHeader
impl Unpin for BBIHeader
impl UnwindSafe for BBIHeader
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> 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