Struct pelite::image::IMAGE_DOS_HEADER
source · [−]#[repr(C)]pub struct IMAGE_DOS_HEADER {Show 19 fields
pub e_magic: u16,
pub e_cblp: u16,
pub e_cp: u16,
pub e_crlc: u16,
pub e_cparhdr: u16,
pub e_minalloc: u16,
pub e_maxalloc: u16,
pub e_ss: u16,
pub e_sp: u16,
pub e_csum: u16,
pub e_ip: u16,
pub e_cs: u16,
pub e_lfarlc: u16,
pub e_ovno: u16,
pub e_res: [u16; 4],
pub e_oemid: u16,
pub e_oeminfo: u16,
pub e_res2: [u16; 10],
pub e_lfanew: u32,
}
Fields
e_magic: u16
e_cblp: u16
e_cp: u16
e_crlc: u16
e_cparhdr: u16
e_minalloc: u16
e_maxalloc: u16
e_ss: u16
e_sp: u16
e_csum: u16
e_ip: u16
e_cs: u16
e_lfarlc: u16
e_ovno: u16
e_res: [u16; 4]
e_oemid: u16
e_oeminfo: u16
e_res2: [u16; 10]
e_lfanew: u32
Trait Implementations
sourceimpl Clone for IMAGE_DOS_HEADER
impl Clone for IMAGE_DOS_HEADER
sourcefn clone(&self) -> IMAGE_DOS_HEADER
fn clone(&self) -> IMAGE_DOS_HEADER
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IMAGE_DOS_HEADER
impl Debug for IMAGE_DOS_HEADER
sourceimpl Pod for IMAGE_DOS_HEADER
impl Pod for IMAGE_DOS_HEADER
sourcefn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a byte slice.
sourcefn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a mutable byte slice.
sourcefn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
sourcefn as_data_view_mut(&mut self) -> &mut DataView
fn as_data_view_mut(&mut self) -> &mut DataView
Returns a mutable data view into the object’s memory.
sourcefn transmute_ref<T>(&self) -> &Twhere
T: Pod,
fn transmute_ref<T>(&self) -> &Twhere
T: Pod,
Safely transmutes references to another type. Read more
sourcefn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
fn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
Safely transmutes references to another type. Read more
impl Copy for IMAGE_DOS_HEADER
Auto Trait Implementations
impl RefUnwindSafe for IMAGE_DOS_HEADER
impl Send for IMAGE_DOS_HEADER
impl Sync for IMAGE_DOS_HEADER
impl Unpin for IMAGE_DOS_HEADER
impl UnwindSafe for IMAGE_DOS_HEADER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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