#[repr(u8)]pub enum InstControlFlow {
Regular = 0,
Jump = 1,
Branch = 2,
Call = 3,
Return = 4,
}Expand description
Instruction control flow.
Variants§
Regular = 0
Regular instruction.
Jump = 1
Unconditional jump.
Branch = 2
Conditional jump (branch).
Call = 3
Function call.
Return = 4
Function return.
Trait Implementations§
Source§impl Clone for InstControlFlow
impl Clone for InstControlFlow
Source§fn clone(&self) -> InstControlFlow
fn clone(&self) -> InstControlFlow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstControlFlow
Source§impl Debug for InstControlFlow
impl Debug for InstControlFlow
Source§impl Default for InstControlFlow
impl Default for InstControlFlow
Source§fn default() -> InstControlFlow
fn default() -> InstControlFlow
Returns the “default value” for a type. Read more
impl Eq for InstControlFlow
Source§impl Hash for InstControlFlow
impl Hash for InstControlFlow
Source§impl Ord for InstControlFlow
impl Ord for InstControlFlow
Source§fn cmp(&self, other: &InstControlFlow) -> Ordering
fn cmp(&self, other: &InstControlFlow) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstControlFlow
impl PartialEq for InstControlFlow
Source§impl PartialOrd for InstControlFlow
impl PartialOrd for InstControlFlow
impl StructuralPartialEq for InstControlFlow
Auto Trait Implementations§
impl Freeze for InstControlFlow
impl RefUnwindSafe for InstControlFlow
impl Send for InstControlFlow
impl Sync for InstControlFlow
impl Unpin for InstControlFlow
impl UnsafeUnpin for InstControlFlow
impl UnwindSafe for InstControlFlow
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