pub trait AsGeneric {
    // Provided methods
    fn library(&self) -> Option<Dylib<'_>> { ... }
    fn symbol(&self) -> Option<Symbol<'_>> { ... }
    fn segment(&self) -> Option<Segment<'_>> { ... }
    fn address(&self) -> u64 { ... }
    fn addend(&self) -> i64 { ... }
    fn library_ordinal(&self) -> i32 { ... }
}
Expand description

Generic trait shared by all BindingInfo items

Provided Methods§

fn library(&self) -> Option<Dylib<'_>>

Library associated with the binding (if any)

fn symbol(&self) -> Option<Symbol<'_>>

Symbol associated with the binding (if any)

fn segment(&self) -> Option<Segment<'_>>

Segment associated with the binding (if any)

fn address(&self) -> u64

Address of the binding

fn addend(&self) -> i64

Value added to the segment’s virtual address when bound

fn library_ordinal(&self) -> i32

Trait Implementations§

§

impl Debug for &dyn AsGeneric

§

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

Formats the value using the given formatter. Read more

Implementors§

§

impl AsGeneric for BindingInfo<'_>

§

impl AsGeneric for Chained<'_>

§

impl AsGeneric for Dyld<'_>

§

impl AsGeneric for Generic<'_>

§

impl AsGeneric for Indirect<'_>