Enum xmas_elf::sections::SectionHeader [−][src]
Variants
Sh32(&'a SectionHeader_<P32>)
Sh64(&'a SectionHeader_<P64>)
Implementations
impl<'a> SectionHeader<'a>
[src]
pub fn get_name(&self, elf_file: &ElfFile<'a>) -> Result<&'a str, &'static str>
[src]
pub fn get_type(&self) -> Result<ShType, &'static str>
[src]
pub fn get_data(
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>
[src]
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>
pub fn raw_data(&self, elf_file: &ElfFile<'a>) -> &'a [u8]
[src]
pub fn flags(&self) -> u64
[src]
pub fn name(&self) -> u32
[src]
pub fn address(&self) -> u64
[src]
pub fn offset(&self) -> u64
[src]
pub fn size(&self) -> u64
[src]
pub fn type_(&self) -> ShType_
[src]
pub fn link(&self) -> u32
[src]
pub fn info(&self) -> u32
[src]
Trait Implementations
impl<'a> Clone for SectionHeader<'a>
[src]
fn clone(&self) -> SectionHeader<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for SectionHeader<'a>
[src]
impl<'a> Debug for SectionHeader<'a>
[src]
impl<'a> Display for SectionHeader<'a>
[src]
Auto Trait Implementations
impl<'a> Send for SectionHeader<'a>
impl<'a> Sync for SectionHeader<'a>
impl<'a> Unpin for SectionHeader<'a>
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, 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>,