Struct yaxpeax_x86::long_mode::Arch
source · pub struct Arch;
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 AnnotatingDecoder<Arch> for InstDecoder
impl AnnotatingDecoder<Arch> for InstDecoder
type FieldDescription = FieldDescription
fn decode_with_annotation<T: Reader<<Arch as Arch>::Address, <Arch as Arch>::Word>, S: DescriptionSink<Self::FieldDescription>>( &self, instr: &mut Instruction, words: &mut T, sink: &mut S ) -> Result<(), <Arch as Arch>::DecodeError>
source§impl Arch for Arch
impl Arch for Arch
type Address = u64
type Word = u8
type Instruction = Instruction
type DecodeError = DecodeError
type Decoder = InstDecoder
type Operand = Operand
source§impl Decoder<Arch> for InstDecoder
impl Decoder<Arch> for InstDecoder
source§fn decode<T: Reader<<Arch as Arch>::Address, <Arch as Arch>::Word>>(
&self,
words: &mut T
) -> Result<Instruction, <Arch as Arch>::DecodeError>
fn decode<T: Reader<<Arch as Arch>::Address, <Arch as Arch>::Word>>( &self, words: &mut T ) -> Result<Instruction, <Arch as Arch>::DecodeError>
decode one instruction for this architecture from the
crate::Reader
of this
architecture’s Word
.source§fn decode_into<T: Reader<<Arch as Arch>::Address, <Arch as Arch>::Word>>(
&self,
instr: &mut Instruction,
words: &mut T
) -> Result<(), <Arch as Arch>::DecodeError>
fn decode_into<T: Reader<<Arch as Arch>::Address, <Arch as Arch>::Word>>( &self, instr: &mut Instruction, words: &mut T ) -> Result<(), <Arch 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§impl<'de> Deserialize<'de> for Arch
impl<'de> Deserialize<'de> for Arch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Arch
impl PartialEq for Arch
impl Copy for Arch
impl Eq for Arch
impl StructuralEq for Arch
impl StructuralPartialEq for Arch
Auto Trait Implementations§
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
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