pub enum VisItemInnerError {
Show 15 variants
Module(ParserError<Module>),
ExternCrate(ParserError<ExternCrate>),
Use(ParserError<UseDeclaration>),
Function(ParserError<Function>),
TypeAlias(ParserError<TypeAlias>),
Struct(ParserError<Struct>),
Enum(ParserError<Enumeration>),
Union(ParserError<Union>),
Constant(ParserError<ConstantItem>),
Static(ParserError<StaticItem>),
Trait(ParserError<Trait>),
Implementation(ParserError<Implementation>),
ExternBlock(ParserError<ExternBlock>),
DeclMacro(ParserError<DeclMacro>),
Unknown {Show 14 fields
module_err: ParserError<Module>,
extern_crate_err: ParserError<ExternCrate>,
use_err: ParserError<UseDeclaration>,
function_err: ParserError<Function>,
type_alias_err: ParserError<TypeAlias>,
struct_err: ParserError<Struct>,
enum_err: ParserError<Enumeration>,
union_err: ParserError<Union>,
constant_err: ParserError<ConstantItem>,
static_err: ParserError<StaticItem>,
trait_err: ParserError<Trait>,
implementation_err: ParserError<Implementation>,
extern_block_err: ParserError<ExternBlock>,
decl_macro_err: ParserError<DeclMacro>,
},
}Variants§
Module(ParserError<Module>)
ExternCrate(ParserError<ExternCrate>)
Use(ParserError<UseDeclaration>)
Function(ParserError<Function>)
TypeAlias(ParserError<TypeAlias>)
Struct(ParserError<Struct>)
Enum(ParserError<Enumeration>)
Union(ParserError<Union>)
Constant(ParserError<ConstantItem>)
Static(ParserError<StaticItem>)
Trait(ParserError<Trait>)
Implementation(ParserError<Implementation>)
ExternBlock(ParserError<ExternBlock>)
DeclMacro(ParserError<DeclMacro>)
Unknown
Fields
§
module_err: ParserError<Module>§
extern_crate_err: ParserError<ExternCrate>§
use_err: ParserError<UseDeclaration>§
function_err: ParserError<Function>§
type_alias_err: ParserError<TypeAlias>§
struct_err: ParserError<Struct>§
enum_err: ParserError<Enumeration>§
union_err: ParserError<Union>§
constant_err: ParserError<ConstantItem>§
static_err: ParserError<StaticItem>§
trait_err: ParserError<Trait>§
implementation_err: ParserError<Implementation>§
extern_block_err: ParserError<ExternBlock>§
decl_macro_err: ParserError<DeclMacro>Trait Implementations§
Source§impl Debug for VisItemInnerError
impl Debug for VisItemInnerError
Auto Trait Implementations§
impl Freeze for VisItemInnerError
impl RefUnwindSafe for VisItemInnerError
impl Send for VisItemInnerError
impl Sync for VisItemInnerError
impl Unpin for VisItemInnerError
impl UnsafeUnpin for VisItemInnerError
impl UnwindSafe for VisItemInnerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
impl<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
fn from_recursive_root(root: R, _parser: &mut Parser) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more