Struct object::read::macho::MachOSymbol [−][src]
A symbol of a MachOFile
.
Trait Implementations
impl<'data, 'file, Mach: Clone + MachHeader> Clone for MachOSymbol<'data, 'file, Mach> where
Mach::Nlist: Clone,
[src]
Mach::Nlist: Clone,
fn clone(&self) -> MachOSymbol<'data, 'file, Mach>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'data, 'file, Mach: Copy + MachHeader> Copy for MachOSymbol<'data, 'file, Mach> where
Mach::Nlist: Copy,
[src]
Mach::Nlist: Copy,
impl<'data, 'file, Mach: Debug + MachHeader> Debug for MachOSymbol<'data, 'file, Mach> where
Mach::Nlist: Debug,
[src]
Mach::Nlist: Debug,
impl<'data, 'file, Mach: MachHeader> ObjectSymbol<'data> for MachOSymbol<'data, 'file, Mach>
[src]
fn index(&self) -> SymbolIndex
[src]
fn name(&self) -> Result<&'data str>
[src]
fn address(&self) -> u64
[src]
fn size(&self) -> u64
[src]
fn kind(&self) -> SymbolKind
[src]
fn section(&self) -> SymbolSection
[src]
fn is_undefined(&self) -> bool
[src]
fn is_definition(&self) -> bool
[src]
fn is_common(&self) -> bool
[src]
fn is_weak(&self) -> bool
[src]
fn scope(&self) -> SymbolScope
[src]
fn is_global(&self) -> bool
[src]
fn is_local(&self) -> bool
[src]
fn flags(&self) -> SymbolFlags<SectionIndex>
[src]
fn section_index(&self) -> Option<SectionIndex>
[src]
Auto Trait Implementations
impl<'data, 'file, Mach> Send for MachOSymbol<'data, 'file, Mach> where
Mach: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
Mach: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
impl<'data, 'file, Mach> Sync for MachOSymbol<'data, 'file, Mach> where
Mach: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
Mach: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
impl<'data, 'file, Mach> Unpin for MachOSymbol<'data, 'file, Mach> where
'data: 'file,
'data: 'file,
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>,