[−][src]Enum bfc_rs::BrainfuckInstr
Type representing a standard or virtual Brainfuck instruction.
Variants
Move the data pointer back one cell.
Move the data pointer forward one cell.
Decrement the value of the current memory cell.
Increment the value of the current memory cell.
Get a byte from the standard input and store it in the current memory cell.
Write the current memory cell's value to the standard output.
Begin a while loop conditional on the current value not being zero.
Close the while loop.
PointerSub(u16)
Subtract from the pointer.
PointerAdd(u16)
Add to the pointer.
DataSub(u8)
Subtract from the current numer.
DataAdd(u8)
Add to the current number.
Print(u16)
Print a number of bytes to the standard output at once.
Trait Implementations
impl Clone for BrainfuckInstr
[src]
pub fn clone(&self) -> BrainfuckInstr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BrainfuckInstr
[src]
impl PartialEq<BrainfuckInstr> for BrainfuckInstr
[src]
pub fn eq(&self, other: &BrainfuckInstr) -> bool
[src]
pub fn ne(&self, other: &BrainfuckInstr) -> bool
[src]
impl StructuralPartialEq for BrainfuckInstr
[src]
Auto Trait Implementations
impl RefUnwindSafe for BrainfuckInstr
[src]
impl Send for BrainfuckInstr
[src]
impl Sync for BrainfuckInstr
[src]
impl Unpin for BrainfuckInstr
[src]
impl UnwindSafe for BrainfuckInstr
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,