Enum calc_engine::scanner::ScannerError [−][src]
pub enum ScannerError { UnexpectedCharacter(char), NumberParsingError(String), DidYouMean(String), UnknownKeyWord(String), }
Variants
UnexpectedCharacter(char)
NumberParsingError(String)
DidYouMean(String)
UnknownKeyWord(String)
Trait Implementations
impl Debug for ScannerError
[src]
impl Debug for ScannerError
[src]impl Display for ScannerError
[src]
impl Display for ScannerError
[src]impl PartialEq<ScannerError> for ScannerError
[src]
impl PartialEq<ScannerError> for ScannerError
[src]fn eq(&self, other: &ScannerError) -> bool
[src]
fn eq(&self, other: &ScannerError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ScannerError) -> bool
[src]
fn ne(&self, other: &ScannerError) -> bool
[src]This method tests for !=
.
impl Eq for ScannerError
[src]
impl StructuralEq for ScannerError
[src]
impl StructuralPartialEq for ScannerError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScannerError
impl Send for ScannerError
impl Sync for ScannerError
impl Unpin for ScannerError
impl UnwindSafe for ScannerError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more