pub struct InstructionSet;Trait Implementations§
Source§impl InstructionSetTrait for InstructionSet
impl InstructionSetTrait for InstructionSet
type Instruction<'a> = Instruction<'a>
Source§impl<W> TapeMachine<InstructionSet> for Printer<W>
impl<W> TapeMachine<InstructionSet> for Printer<W>
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: Instruction<'_>)
Source§impl<T> TapeMachine<InstructionSet> for RestartableMachine<T>where
T: TapeMachine<InstructionSet>,
impl<T> TapeMachine<InstructionSet> for RestartableMachine<T>where
T: TapeMachine<InstructionSet>,
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: Instruction<'_>)
Source§impl TapeMachine<InstructionSet> for Rotate
impl TapeMachine<InstructionSet> for Rotate
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: Instruction<'_>)
Source§impl<W> TapeMachine<InstructionSet> for Store<W>
impl<W> TapeMachine<InstructionSet> for Store<W>
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: Instruction<'_>)
Source§impl<T> TapeMachine<InstructionSet> for StringCache<T>where
T: TapeMachine<CacheInstructionSet>,
impl<T> TapeMachine<InstructionSet> for StringCache<T>where
T: TapeMachine<CacheInstructionSet>,
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: Instruction<'_>)
Auto Trait Implementations§
impl Freeze for InstructionSet
impl RefUnwindSafe for InstructionSet
impl Send for InstructionSet
impl Sync for InstructionSet
impl Unpin for InstructionSet
impl UnwindSafe for InstructionSet
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