Struct atom_macho::load_command::segment64::SegmentCommand64
source · [−]pub struct SegmentCommand64 {
pub cmd: u32,
pub cmdsize: u32,
pub segname: String,
pub vmaddr: u64,
pub vmsize: u64,
pub fileoff: u64,
pub filesize: u64,
pub maxprot: i32,
pub initprot: i32,
pub nsects: u32,
pub flags: u32,
}
Fields
cmd: u32
SegmentCommand64::TYPE
cmdsize: u32
includes sizeof Section64 structs
segname: String
segment name. 16byte
vmaddr: u64
memory address of this segment
vmsize: u64
memory size of this segment
fileoff: u64
file offset of this segment
filesize: u64
amount to map from the file
maxprot: i32
maximum VM protection
initprot: i32
initial VM protection
nsects: u32
number of sections in segment
flags: u32
flags
Implementations
Trait Implementations
sourceimpl Clone for SegmentCommand64
impl Clone for SegmentCommand64
sourcefn clone(&self) -> SegmentCommand64
fn clone(&self) -> SegmentCommand64
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SegmentCommand64
impl Debug for SegmentCommand64
sourceimpl PartialEq<SegmentCommand64> for SegmentCommand64
impl PartialEq<SegmentCommand64> for SegmentCommand64
sourcefn eq(&self, other: &SegmentCommand64) -> bool
fn eq(&self, other: &SegmentCommand64) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SegmentCommand64) -> bool
fn ne(&self, other: &SegmentCommand64) -> bool
This method tests for !=
.
impl Eq for SegmentCommand64
impl StructuralEq for SegmentCommand64
impl StructuralPartialEq for SegmentCommand64
Auto Trait Implementations
impl RefUnwindSafe for SegmentCommand64
impl Send for SegmentCommand64
impl Sync for SegmentCommand64
impl Unpin for SegmentCommand64
impl UnwindSafe for SegmentCommand64
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