Enum bf::common::Error [−][src]
pub enum Error { UnmatchedBegin, UnmatchedEnd, PointerUnderflow, PointerOverflow, }
The static and dynamic errors that can happen in Brainfuck.
Variants
UnmatchedBegin
Unmatched ‘[’ (syntax error)
UnmatchedEnd
Unmatched ‘]’ (syntax error)
PointerUnderflow
If execution continues, the pointer will go below 0 (run-time error)
PointerOverflow
If execution continues, the pointer will go beyond the high end of the memory (run-time error)
Trait Implementations
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Error
[src]
impl Copy for Error
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Error
[src]
impl Eq for Error
impl Display for Error
[src]
impl Display for Error