Enum probe_rs_target::InstructionSet
source · [−]pub enum InstructionSet {
Thumb2,
A32,
A64,
RV32,
}
Expand description
Instruction set used by a core
Variants
Thumb2
ARM Thumb 2 instruction set
A32
ARM A32 (often just called ARM) instruction set
A64
ARM A64 (aarch64) instruction set
RV32
RISC-V 32-bit instruction set
Implementations
sourceimpl InstructionSet
impl InstructionSet
sourcepub fn get_minimum_instruction_size(&self) -> u8
pub fn get_minimum_instruction_size(&self) -> u8
Get the minimum instruction size in bytes.
sourcepub fn get_maximum_instruction_size(&self) -> u8
pub fn get_maximum_instruction_size(&self) -> u8
Get the maximum instruction size in bytes.
Trait Implementations
sourceimpl Clone for InstructionSet
impl Clone for InstructionSet
sourcefn clone(&self) -> InstructionSet
fn clone(&self) -> InstructionSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstructionSet
impl Debug for InstructionSet
sourceimpl PartialEq<InstructionSet> for InstructionSet
impl PartialEq<InstructionSet> for InstructionSet
impl Copy for InstructionSet
impl StructuralPartialEq for InstructionSet
Auto Trait Implementations
impl RefUnwindSafe for InstructionSet
impl Send for InstructionSet
impl Sync for InstructionSet
impl Unpin for InstructionSet
impl UnwindSafe for InstructionSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more