binaryninja::architecture

Trait Register

source
pub trait Register:
    Debug
    + Sized
    + Clone
    + Copy
    + Hash
    + Eq {
    type InfoType: RegisterInfo<RegType = Self>;

    // Required methods
    fn name(&self) -> Cow<'_, str>;
    fn info(&self) -> Self::InfoType;
    fn id(&self) -> RegisterId;
}

Required Associated Types§

source

type InfoType: RegisterInfo<RegType = Self>

Required Methods§

source

fn name(&self) -> Cow<'_, str>

source

fn info(&self) -> Self::InfoType

source

fn id(&self) -> RegisterId

Unique identifier for this Register.

MUST be in the range [0, 0x7fff_ffff]

Object Safety§

This trait is not object safe.

Implementors§