pub struct DataSection {
pub section_type: SectionType,
pub offset: u64,
pub size: u64,
pub data: Vec<u8>,
pub compression: Option<CompressionMethod>,
}
Fields§
§section_type: SectionType
§offset: u64
§size: u64
§data: Vec<u8>
§compression: Option<CompressionMethod>
Implementations§
Source§impl DataSection
impl DataSection
Trait Implementations§
Source§impl Clone for DataSection
impl Clone for DataSection
Source§fn clone(&self) -> DataSection
fn clone(&self) -> DataSection
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 DataSection
impl Debug for DataSection
Source§impl<'de> Deserialize<'de> for DataSection
impl<'de> Deserialize<'de> for DataSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataSection
impl RefUnwindSafe for DataSection
impl Send for DataSection
impl Sync for DataSection
impl Unpin for DataSection
impl UnwindSafe for DataSection
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