pub struct CoffSection {
pub header: SectionHeader,
pub data: Vec<u8>,
pub relocations: Vec<CoffRelocation>,
}Expand description
COFF section structure
Represents a section in a COFF object file, containing the section header and data. Similar to a PE section but used for object files instead of executables.
Fields§
§header: SectionHeaderSection header info
data: Vec<u8>Raw data of the section
relocations: Vec<CoffRelocation>Relocation table containing all relocation entries for this section
Trait Implementations§
Source§impl Clone for CoffSection
impl Clone for CoffSection
Source§fn clone(&self) -> CoffSection
fn clone(&self) -> CoffSection
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 CoffSection
impl Debug for CoffSection
Source§impl<'de> Deserialize<'de> for CoffSection
impl<'de> Deserialize<'de> for CoffSection
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 CoffSection
impl RefUnwindSafe for CoffSection
impl Send for CoffSection
impl Sync for CoffSection
impl Unpin for CoffSection
impl UnsafeUnpin for CoffSection
impl UnwindSafe for CoffSection
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