Enum triton_vm::instruction::InstructionBit
source · pub enum InstructionBit {
IB0,
IB1,
IB2,
IB3,
IB4,
IB5,
IB6,
}Expand description
Indicators for all the possible bits in an Instruction.
Variants§
Trait Implementations§
source§impl Clone for InstructionBit
impl Clone for InstructionBit
source§fn clone(&self) -> InstructionBit
fn clone(&self) -> InstructionBit
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 InstructionBit
impl Debug for InstructionBit
source§impl Default for InstructionBit
impl Default for InstructionBit
source§fn default() -> InstructionBit
fn default() -> InstructionBit
Returns the “default value” for a type. Read more
source§impl Display for InstructionBit
impl Display for InstructionBit
source§impl From<InstructionBit> for usize
impl From<InstructionBit> for usize
source§fn from(instruction_bit: InstructionBit) -> Self
fn from(instruction_bit: InstructionBit) -> Self
Converts to this type from the input type.
source§impl IntoEnumIterator for InstructionBit
impl IntoEnumIterator for InstructionBit
type Iterator = InstructionBitIter
fn iter() -> InstructionBitIter ⓘ
source§impl PartialEq for InstructionBit
impl PartialEq for InstructionBit
source§fn eq(&self, other: &InstructionBit) -> bool
fn eq(&self, other: &InstructionBit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<usize> for InstructionBit
impl TryFrom<usize> for InstructionBit
impl Copy for InstructionBit
impl Eq for InstructionBit
impl StructuralPartialEq for InstructionBit
Auto Trait Implementations§
impl Freeze for InstructionBit
impl RefUnwindSafe for InstructionBit
impl Send for InstructionBit
impl Sync for InstructionBit
impl Unpin for InstructionBit
impl UnwindSafe for InstructionBit
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> 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