pub struct Avnera;
Expand description
a trivial struct for yaxpeax_arch::Arch
to be implemented on. it’s only interesting for the
associated type parameters.
Trait Implementations§
Source§impl Arch for Avnera
impl Arch for Avnera
type Address = u16
type Word = u8
type Instruction = Instruction
type Decoder = InstDecoder
type DecodeError = StandardDecodeError
type Operand = Operand
Source§impl Decoder<Avnera> for InstDecoder
impl Decoder<Avnera> for InstDecoder
Source§fn decode_into<T: Reader<<Avnera as Arch>::Address, <Avnera as Arch>::Word>>(
&self,
inst: &mut Instruction,
words: &mut T,
) -> Result<(), <Avnera as Arch>::DecodeError>
fn decode_into<T: Reader<<Avnera as Arch>::Address, <Avnera as Arch>::Word>>( &self, inst: &mut Instruction, words: &mut T, ) -> Result<(), <Avnera as Arch>::DecodeError>
decode one instruction for this architecture from the
crate::Reader
of this
architecture’s Word
, writing into the provided inst
. Read moreSource§fn decode<T>(
&self,
words: &mut T,
) -> Result<<A as Arch>::Instruction, <A as Arch>::DecodeError>
fn decode<T>( &self, words: &mut T, ) -> Result<<A as Arch>::Instruction, <A as Arch>::DecodeError>
decode one instruction for this architecture from the
crate::Reader
of this
architecture’s Word
.impl Copy for Avnera
impl Eq for Avnera
impl StructuralPartialEq for Avnera
Auto Trait Implementations§
impl Freeze for Avnera
impl RefUnwindSafe for Avnera
impl Send for Avnera
impl Sync for Avnera
impl Unpin for Avnera
impl UnwindSafe for Avnera
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more