Enum g_code::parse::lexer::LexicalError [−][src]
Variants
This character is not part of the ASCII character set, or its presence does not make sense in the context of GCode (i.e. a stray dollar sign)
UnexpectedNewline(usize, LexerState)A LexTok::InlineComment started but a LexTok::Newline was encountered before it was finished.
UnexpectedEOF(usize, LexerState)Input ended prematurely while building a LexTok::String or LexTok::InlineComment
both of which require a closing delimiter
ParseIntError(ParseIntError, usize, usize)A LexTok::Integer was out of the bounds of a usize.
ParseRatioError(ParseRatioError, usize, usize)Trait Implementations
impl Clone for LexicalError[src]
fn clone(&self) -> LexicalError[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LexicalError[src]
impl PartialEq<LexicalError> for LexicalError[src]
fn eq(&self, other: &LexicalError) -> bool[src]
fn ne(&self, other: &LexicalError) -> bool[src]
impl StructuralPartialEq for LexicalError[src]
Auto Trait Implementations
impl RefUnwindSafe for LexicalError[src]
impl Send for LexicalError[src]
impl Sync for LexicalError[src]
impl Unpin for LexicalError[src]
impl UnwindSafe for LexicalError[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>,