Enum rustfmt_nightly::parse::parser::ParserError
source · pub(crate) enum ParserError {
NoParseSess,
NoInput,
ParserCreationError,
ParseError,
ParsePanicError,
}
Variants
NoParseSess
NoInput
ParserCreationError
ParseError
ParsePanicError
Trait Implementations
sourceimpl Debug for ParserError
impl Debug for ParserError
sourceimpl PartialEq<ParserError> for ParserError
impl PartialEq<ParserError> for ParserError
sourcefn eq(&self, other: &ParserError) -> bool
fn eq(&self, other: &ParserError) -> bool
impl StructuralPartialEq for ParserError
Auto Trait Implementations
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError
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: 1 byte
Size for each variant:
NoParseSess
: 0 bytesNoInput
: 0 bytesParserCreationError
: 0 bytesParseError
: 0 bytesParsePanicError
: 0 bytes