pub enum ProgramControlFlow {
    Pc(usize),
    Halt,
}Expand description
Update the program to a new position or halt it.
Variants§
Trait Implementations§
Source§impl Clone for ProgramControlFlow
 
impl Clone for ProgramControlFlow
Source§fn clone(&self) -> ProgramControlFlow
 
fn clone(&self) -> ProgramControlFlow
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 ProgramControlFlow
 
impl Debug for ProgramControlFlow
Source§impl Hash for ProgramControlFlow
 
impl Hash for ProgramControlFlow
Source§impl Ord for ProgramControlFlow
 
impl Ord for ProgramControlFlow
Source§fn cmp(&self, other: &ProgramControlFlow) -> Ordering
 
fn cmp(&self, other: &ProgramControlFlow) -> Ordering
1.21.0 · 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 ProgramControlFlow
 
impl PartialEq for ProgramControlFlow
Source§impl PartialOrd for ProgramControlFlow
 
impl PartialOrd for ProgramControlFlow
impl Copy for ProgramControlFlow
impl Eq for ProgramControlFlow
impl StructuralPartialEq for ProgramControlFlow
Auto Trait Implementations§
impl Freeze for ProgramControlFlow
impl RefUnwindSafe for ProgramControlFlow
impl Send for ProgramControlFlow
impl Sync for ProgramControlFlow
impl Unpin for ProgramControlFlow
impl UnwindSafe for ProgramControlFlow
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