Trait object::read::xcoff::relocation::Rel

source ·
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§

source

fn r_vaddr(&self) -> Self::Word

source

fn r_symndx(&self) -> u32

source

fn r_rsize(&self) -> u8

source

fn r_rtype(&self) -> u8

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Rel for Rel32

§

type Word = u32

source§

impl Rel for Rel64

§

type Word = u64