Struct atom_macho::load_command::segment64::Section64
source · [−]pub struct Section64 {
pub sectname: String,
pub segname: String,
pub addr: u64,
pub size: u64,
pub offset: u32,
pub align: u32,
pub reloff: u32,
pub nreloc: u32,
pub flags: (SectionAttrs, SectionType),
pub reserved1: u32,
pub reserved2: u32,
pub reserved3: u32,
}
Fields
sectname: String
16-byte string
segname: String
16-byte string
addr: u64
memory address of this section
size: u64
size in bytes of this section
offset: u32
file offset of this section
align: u32
section alignment (power of 2)
reloff: u32
file offset of the first relocation entry for this section
nreloc: u32
number of relocation entries for this section
flags: (SectionAttrs, SectionType)
represented as u32. higher 3 bytes represent SectionAttrs, lower 1 byte represent SectionType.
reserved1: u32
reserved2: u32
reserved3: u32
Implementations
Trait Implementations
impl Eq for Section64
impl StructuralEq for Section64
impl StructuralPartialEq for Section64
Auto Trait Implementations
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin for Section64
impl UnwindSafe for Section64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more