Struct ImageSymbol

struct ImageSymbol { ... }

Fields

name: [u8; 8]

If first 4 bytes are 0, then second 4 bytes are offset into string table.

value: crate::endian::U32Bytes<crate::endian::LittleEndian>
section_number: crate::endian::U16Bytes<crate::endian::LittleEndian>
typ: crate::endian::U16Bytes<crate::endian::LittleEndian>
storage_class: u8
number_of_aux_symbols: u8

Implementations

impl Clone for ImageSymbol

fn clone(self: &Self) -> ImageSymbol

impl Copy for ImageSymbol

impl Debug for ImageSymbol

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Freeze for ImageSymbol

impl ImageSymbol for pe::ImageSymbol

fn raw_name(self: &Self) -> &[u8; 8]
fn value(self: &Self) -> u32
fn section_number(self: &Self) -> i32
fn typ(self: &Self) -> u16
fn storage_class(self: &Self) -> u8
fn number_of_aux_symbols(self: &Self) -> u8

impl Pod for ImageSymbol

impl RefUnwindSafe for ImageSymbol

impl Send for ImageSymbol

impl Sync for ImageSymbol

impl Unpin for ImageSymbol

impl UnwindSafe for ImageSymbol

impl<T> Any for ImageSymbol

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ImageSymbol

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ImageSymbol

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ImageSymbol

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ImageSymbol

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ImageSymbol

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ImageSymbol

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ImageSymbol

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ImageSymbol

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>