pub struct SegmentCommand64 {
pub cmd: u32,
pub cmdsize: u32,
pub segname: [u8; 16],
pub vmaddr: u64,
pub vmsize: u64,
pub fileoff: u64,
pub filesize: u64,
pub maxprot: u32,
pub initprot: u32,
pub nsects: u32,
pub flags: u32,
}Expand description
段命令结构(64位)
Fields§
§cmd: u32命令类型
cmdsize: u32命令大小
segname: [u8; 16]段名称
vmaddr: u64虚拟内存地址
vmsize: u64虚拟内存大小
fileoff: u64文件偏移
filesize: u64文件大小
maxprot: u32最大虚拟内存保护
initprot: u32初始虚拟内存保护
nsects: u32节数量
flags: u32标志
Trait Implementations§
Source§impl Clone for SegmentCommand64
impl Clone for SegmentCommand64
Source§fn clone(&self) -> SegmentCommand64
fn clone(&self) -> SegmentCommand64
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 SegmentCommand64
impl Debug for SegmentCommand64
Source§impl<'de> Deserialize<'de> for SegmentCommand64
impl<'de> Deserialize<'de> for SegmentCommand64
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
Source§impl Serialize for SegmentCommand64
impl Serialize for SegmentCommand64
impl Copy for SegmentCommand64
Auto Trait Implementations§
impl Freeze for SegmentCommand64
impl RefUnwindSafe for SegmentCommand64
impl Send for SegmentCommand64
impl Sync for SegmentCommand64
impl Unpin for SegmentCommand64
impl UnsafeUnpin for SegmentCommand64
impl UnwindSafe for SegmentCommand64
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