pub struct HeaderFormatInfo {
pub version: u32,
pub is_big_endian: bool,
pub has_extended_format: bool,
pub supports_large_files: bool,
pub metadata_size: u32,
pub data_offset: u64,
}Expand description
Header format information
Fields§
§version: u32§is_big_endian: bool§has_extended_format: bool§supports_large_files: bool§metadata_size: u32§data_offset: u64Trait Implementations§
Source§impl Clone for HeaderFormatInfo
impl Clone for HeaderFormatInfo
Source§fn clone(&self) -> HeaderFormatInfo
fn clone(&self) -> HeaderFormatInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeaderFormatInfo
impl Debug for HeaderFormatInfo
Source§impl<'de> Deserialize<'de> for HeaderFormatInfo
impl<'de> Deserialize<'de> for HeaderFormatInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HeaderFormatInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HeaderFormatInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HeaderFormatInfo
impl Serialize for HeaderFormatInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HeaderFormatInfo
impl RefUnwindSafe for HeaderFormatInfo
impl Send for HeaderFormatInfo
impl Sync for HeaderFormatInfo
impl Unpin for HeaderFormatInfo
impl UnwindSafe for HeaderFormatInfo
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