Struct goblin::pe::section_table::SectionTable [−][src]
Fields
name: [u8; 8]
real_name: Option<String>
virtual_size: u32
virtual_address: u32
size_of_raw_data: u32
pointer_to_raw_data: u32
pointer_to_relocations: u32
pointer_to_linenumbers: u32
number_of_relocations: u16
number_of_linenumbers: u16
characteristics: u32
Implementations
impl SectionTable
[src]
pub fn parse(
bytes: &[u8],
offset: &mut usize,
string_table_offset: usize
) -> Result<Self>
[src]
bytes: &[u8],
offset: &mut usize,
string_table_offset: usize
) -> Result<Self>
pub fn name_offset(&self) -> Result<Option<usize>>
[src]
pub fn set_name_offset(&mut self, idx: usize) -> Result<()>
[src]
pub fn name(&self) -> Result<&str>
[src]
pub fn relocations<'a>(&self, bytes: &'a [u8]) -> Result<Relocations<'a>>
[src]
Trait Implementations
impl Clone for SectionTable
[src]
fn clone(&self) -> SectionTable
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SectionTable
[src]
impl Default for SectionTable
[src]
fn default() -> SectionTable
[src]
impl IntoCtx<Endian, [u8]> for SectionTable
[src]
impl PartialEq<SectionTable> for SectionTable
[src]
fn eq(&self, other: &SectionTable) -> bool
[src]
fn ne(&self, other: &SectionTable) -> bool
[src]
impl SizeWith<Endian> for SectionTable
[src]
impl StructuralPartialEq for SectionTable
[src]
impl TryIntoCtx<Endian, [u8]> for SectionTable
[src]
Auto Trait Implementations
impl RefUnwindSafe for SectionTable
impl Send for SectionTable
impl Sync for SectionTable
impl Unpin for SectionTable
impl UnwindSafe for SectionTable
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,