pub enum LabelledInstruction {
Instruction(AnInstruction<String>),
Label(String),
Breakpoint,
TypeHint(TypeHint),
AssertionContext(AssertionContext),
}
Expand description
A LabelledInstruction
has call
addresses encoded as label names.
Variants§
Instruction(AnInstruction<String>)
An instructions from the instruction set architecture.
Label(String)
Labels look like “<name>:
” and are translated into absolute addresses.
Breakpoint
TypeHint(TypeHint)
AssertionContext(AssertionContext)
Implementations§
Source§impl LabelledInstruction
impl LabelledInstruction
pub const fn op_stack_size_influence(&self) -> i32
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for LabelledInstruction
impl<'a> Arbitrary<'a> for LabelledInstruction
Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<LabelledInstruction, Error>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<LabelledInstruction, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§impl Clone for LabelledInstruction
impl Clone for LabelledInstruction
Source§fn clone(&self) -> LabelledInstruction
fn clone(&self) -> LabelledInstruction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LabelledInstruction
impl Debug for LabelledInstruction
Source§impl Display for LabelledInstruction
impl Display for LabelledInstruction
Source§impl Hash for LabelledInstruction
impl Hash for LabelledInstruction
Source§impl PartialEq for LabelledInstruction
impl PartialEq for LabelledInstruction
impl Eq for LabelledInstruction
impl StructuralPartialEq for LabelledInstruction
Auto Trait Implementations§
impl Freeze for LabelledInstruction
impl RefUnwindSafe for LabelledInstruction
impl Send for LabelledInstruction
impl Sync for LabelledInstruction
impl Unpin for LabelledInstruction
impl UnwindSafe for LabelledInstruction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more