pub trait Rel: Debug + Pod {
type Word: Into<u64>;
// Required methods
fn r_vaddr(&self) -> Self::Word;
fn r_symndx(&self) -> u32;
fn r_rsize(&self) -> u8;
fn r_rtype(&self) -> u8;
// Provided method
fn symbol(&self) -> SymbolIndex { ... }
}
Expand description
A trait for generic access to xcoff::Rel32
and xcoff::Rel64
.
Required Associated Types§
Required Methods§
fn r_vaddr(&self) -> Self::Word
fn r_symndx(&self) -> u32
fn r_rsize(&self) -> u8
fn r_rtype(&self) -> u8
Provided Methods§
fn symbol(&self) -> SymbolIndex
Object Safety§
This trait is not object safe.