[−][src]Struct object::pe::ImageSymbol
Fields
name: [u8; 8]
If first 4 bytes are 0, then second 4 bytes are offset into string table.
value: U32Bytes<LE>
section_number: U16Bytes<LE>
typ: U16Bytes<LE>
storage_class: u8
number_of_aux_symbols: u8
Implementations
impl ImageSymbol
[src]
pub fn name<'data>(
&'data self,
strings: StringTable<'data>
) -> Result<&'data [u8]>
[src]
&'data self,
strings: StringTable<'data>
) -> Result<&'data [u8]>
Parse a COFF symbol name.
strings
must be the string table used for symbols names.
impl ImageSymbol
[src]
pub fn base_type(&self) -> u16
[src]
pub fn derived_type(&self) -> u16
[src]
Trait Implementations
impl Clone for ImageSymbol
[src]
fn clone(&self) -> ImageSymbol
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ImageSymbol
[src]
impl Debug for ImageSymbol
[src]
impl Pod for ImageSymbol
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,