pub struct Load<R> { /* private fields */ }Implementations§
Source§impl<R> Load<R>where
R: Read,
impl<R> Load<R>where
R: Read,
pub fn new(input: R) -> Self
pub fn restart(&mut self)
pub fn forward<T>(&mut self, machine: &mut T) -> Result<()>where
T: TapeMachine<InstructionSet>,
pub fn forward_cached<T>(&mut self, machine: &mut T) -> Result<()>where
T: TapeMachine<CacheInstructionSet>,
pub fn fetch_one(&mut self) -> Result<Option<Instruction<'_>>>
pub fn fetch_one_cached(&mut self) -> Result<Option<CacheInstruction<'_>>>
Auto Trait Implementations§
impl<R> Freeze for Load<R>where
R: Freeze,
impl<R> RefUnwindSafe for Load<R>where
R: RefUnwindSafe,
impl<R> Send for Load<R>where
R: Send,
impl<R> Sync for Load<R>where
R: Sync,
impl<R> Unpin for Load<R>where
R: Unpin,
impl<R> UnwindSafe for Load<R>where
R: UnwindSafe,
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