pub enum Tag {
Show 54 variants
Module,
ModuleFolded,
Struct,
Union,
Enum,
Trait,
Function,
Constant,
Static,
TypeAlias,
Import,
MacroDecl,
MacroFunc,
MacroAttr,
MacroDerv,
Unknown,
NoImpls,
Implementations,
ImplInherent,
InherentImpls,
ImplTrait,
TraitImpls,
ImplAuto,
AutoImpls,
ImplBlanket,
BlanketImpls,
NoVariants,
Variants,
Variant,
NoFields,
Fields,
Field,
FieldsPrivate,
NoAssocOrImpls,
AssocTypes,
AssocType,
AssocConsts,
AssocConst,
AssocFns,
AssocFn,
Implementors,
Implementor,
Structs,
Unions,
Enums,
Traits,
Functions,
Constants,
Statics,
TypeAliass,
MacroDecls,
MacroFuncs,
MacroAttrs,
MacroDervs,
}
Variants§
Module
ModuleFolded
Struct
Union
Enum
Trait
Function
Constant
Static
TypeAlias
Import
MacroDecl
MacroFunc
MacroAttr
MacroDerv
Unknown
NoImpls
Implementations
ImplInherent
InherentImpls
ImplTrait
TraitImpls
ImplAuto
AutoImpls
ImplBlanket
BlanketImpls
NoVariants
Variants
Variant
NoFields
Fields
Field
FieldsPrivate
NoAssocOrImpls
AssocTypes
AssocType
AssocConsts
AssocConst
AssocFns
AssocFn
Implementors
Implementor
Structs
Unions
Enums
Traits
Functions
Constants
Statics
TypeAliass
MacroDecls
MacroFuncs
MacroAttrs
MacroDervs
Implementations§
Trait Implementations§
Source§impl Ord for Tag
impl Ord for Tag
Source§impl PartialOrd for Tag
impl PartialOrd for Tag
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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