[−][src]Enum rysk_tools::instruction::BaseInstruction
Variants
Implementations
impl BaseInstruction
[src]
pub fn decode(instruction: &mut [u8]) -> Option<(Self, &mut [u8])>
[src]
Consumes 2 or 4 bytes, converting them to a parsed instruction
pub fn encode(self) -> MachineInstruction
[src]
pub fn mnemonic(&self) -> &'static str
[src]
pub fn name(&self) -> &'static str
[src]
Trait Implementations
impl Clone for BaseInstruction
[src]
fn clone(&self) -> BaseInstruction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BaseInstruction
[src]
impl Debug for BaseInstruction
[src]
Auto Trait Implementations
impl RefUnwindSafe for BaseInstruction
impl Send for BaseInstruction
impl Sync for BaseInstruction
impl Unpin for BaseInstruction
impl UnwindSafe for BaseInstruction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,