Struct pelite::image::IMAGE_SECTION_HEADER
source · [−]#[repr(C)]pub struct IMAGE_SECTION_HEADER {
pub Name: [u8; 8],
pub VirtualSize: u32,
pub VirtualAddress: u32,
pub SizeOfRawData: u32,
pub PointerToRawData: u32,
pub PointerToRelocations: u32,
pub PointerToLinenumbers: u32,
pub NumberOfRelocations: u16,
pub NumberOfLinenumbers: u16,
pub Characteristics: u32,
}
Fields
Name: [u8; 8]
VirtualSize: u32
VirtualAddress: u32
SizeOfRawData: u32
PointerToRawData: u32
PointerToRelocations: u32
PointerToLinenumbers: u32
NumberOfRelocations: u16
NumberOfLinenumbers: u16
Characteristics: u32
Trait Implementations
sourceimpl Clone for IMAGE_SECTION_HEADER
impl Clone for IMAGE_SECTION_HEADER
sourcefn clone(&self) -> IMAGE_SECTION_HEADER
fn clone(&self) -> IMAGE_SECTION_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_SECTION_HEADER
impl Debug for IMAGE_SECTION_HEADER
sourceimpl Pod for IMAGE_SECTION_HEADER
impl Pod for IMAGE_SECTION_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_SECTION_HEADER
Auto Trait Implementations
impl RefUnwindSafe for IMAGE_SECTION_HEADER
impl Send for IMAGE_SECTION_HEADER
impl Sync for IMAGE_SECTION_HEADER
impl Unpin for IMAGE_SECTION_HEADER
impl UnwindSafe for IMAGE_SECTION_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