pub enum LitError {
NotLiteral,
LexerError,
InvalidSuffix,
InvalidIntSuffix,
InvalidFloatSuffix,
NonDecimalFloat(u32),
IntTooLarge,
}
Variants
NotLiteral
LexerError
InvalidSuffix
InvalidIntSuffix
InvalidFloatSuffix
NonDecimalFloat(u32)
IntTooLarge
Auto Trait Implementations
impl RefUnwindSafe for LitError
impl Send for LitError
impl Sync for LitError
impl Unpin for LitError
impl UnwindSafe for LitError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes
Size for each variant:
NotLiteral
: 0 bytesLexerError
: 0 bytesInvalidSuffix
: 0 bytesInvalidIntSuffix
: 0 bytesInvalidFloatSuffix
: 0 bytesNonDecimalFloat
: 4 bytesIntTooLarge
: 0 bytes