#[non_exhaustive]pub enum Tag {
Show 67 variants
Yield(YieldTag),
TypeDef(TypeDefTag),
Throw(ThrowTag),
Todo(TodoTag),
Tutorial(TutorialTag),
Static(StaticTag),
Summary(SummaryTag),
See(SeeTag),
Since(SinceTag),
Requires(RequiresTag),
Override(OverrideTag),
Package(PackageTag),
Module(ModuleTag),
Name(NameTag),
Namespace(NamespaceTag),
Variation(VariationTag),
Version(VersionTag),
MemberOf(MemberOfTag),
Mixes(MixesTag),
Mixin(MixinTag),
Member(MemberTag),
Listens(ListensTag),
License(LicenseTag),
Kind(KindTag),
Lends(LendsTag),
Instance(InstanceTag),
Interface(InterfaceTag),
Inner(InnerTag),
InheritDoc(InheritDocTag),
Ignore(IgnoreTag),
HideConstructor(HideConstructorTag),
Generator(GeneratorTag),
Function(FunctionTag),
File(FileTag),
Constructs(ConstructsTag),
Copyright(CopyrightTag),
Abstract(AbstractTag),
Access(AccessTag),
Alias(AliasTag),
Async(AsyncTag),
Unknown(UnknownTag),
Augments(AugmentsTag),
Implements(ImplementsTag),
Author(AuthorTag),
Borrows(BorrowsTag),
Class(ClassTag),
ClassDesc(JSDocClassDescTag),
Const(ConstTag),
Public(PublicTag),
Private(PrivateTag),
Protected(ProtectedTag),
Readonly(ReadonlyTag),
Callback(CallbackTag),
Enum(EnumTag),
Parameter(ParameterTag),
Return(ReturnTag),
This(ThisTag),
Type(TypeTag),
Template(TemplateTag),
Typedef(TypedefTag),
Property(PropertyTag),
Description(DescriptionTag),
Example(ExampleTag),
Exports(ExportsTag),
External(ExternalTag),
Default(DefaultTag),
Deprecated(DeprecatedTag),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Yield(YieldTag)
TypeDef(TypeDefTag)
Throw(ThrowTag)
Todo(TodoTag)
Tutorial(TutorialTag)
Static(StaticTag)
Summary(SummaryTag)
See(SeeTag)
Since(SinceTag)
Requires(RequiresTag)
Override(OverrideTag)
Package(PackageTag)
Module(ModuleTag)
Name(NameTag)
Namespace(NamespaceTag)
Variation(VariationTag)
Version(VersionTag)
MemberOf(MemberOfTag)
Mixes(MixesTag)
Mixin(MixinTag)
Member(MemberTag)
Listens(ListensTag)
License(LicenseTag)
Kind(KindTag)
Lends(LendsTag)
Instance(InstanceTag)
Interface(InterfaceTag)
Inner(InnerTag)
InheritDoc(InheritDocTag)
Ignore(IgnoreTag)
HideConstructor(HideConstructorTag)
Generator(GeneratorTag)
Function(FunctionTag)
File(FileTag)
Constructs(ConstructsTag)
Copyright(CopyrightTag)
Abstract(AbstractTag)
Access(AccessTag)
Alias(AliasTag)
Async(AsyncTag)
Unknown(UnknownTag)
Augments(AugmentsTag)
Implements(ImplementsTag)
Author(AuthorTag)
Borrows(BorrowsTag)
Class(ClassTag)
ClassDesc(JSDocClassDescTag)
Const(ConstTag)
Public(PublicTag)
Private(PrivateTag)
Protected(ProtectedTag)
Readonly(ReadonlyTag)
Callback(CallbackTag)
Enum(EnumTag)
Parameter(ParameterTag)
Return(ReturnTag)
This(ThisTag)
Type(TypeTag)
Template(TemplateTag)
Typedef(TypedefTag)
Property(PropertyTag)
Description(DescriptionTag)
Example(ExampleTag)
Exports(ExportsTag)
External(ExternalTag)
Default(DefaultTag)
Deprecated(DeprecatedTag)
Trait Implementations§
source§impl From<AbstractTag> for Tag
impl From<AbstractTag> for Tag
source§fn from(v: AbstractTag) -> Self
fn from(v: AbstractTag) -> Self
Converts to this type from the input type.
source§impl From<AugmentsTag> for Tag
impl From<AugmentsTag> for Tag
source§fn from(v: AugmentsTag) -> Self
fn from(v: AugmentsTag) -> Self
Converts to this type from the input type.
source§impl From<BorrowsTag> for Tag
impl From<BorrowsTag> for Tag
source§fn from(v: BorrowsTag) -> Self
fn from(v: BorrowsTag) -> Self
Converts to this type from the input type.
source§impl From<CallbackTag> for Tag
impl From<CallbackTag> for Tag
source§fn from(v: CallbackTag) -> Self
fn from(v: CallbackTag) -> Self
Converts to this type from the input type.
source§impl From<ConstructsTag> for Tag
impl From<ConstructsTag> for Tag
source§fn from(v: ConstructsTag) -> Self
fn from(v: ConstructsTag) -> Self
Converts to this type from the input type.
source§impl From<CopyrightTag> for Tag
impl From<CopyrightTag> for Tag
source§fn from(v: CopyrightTag) -> Self
fn from(v: CopyrightTag) -> Self
Converts to this type from the input type.
source§impl From<DefaultTag> for Tag
impl From<DefaultTag> for Tag
source§fn from(v: DefaultTag) -> Self
fn from(v: DefaultTag) -> Self
Converts to this type from the input type.
source§impl From<DeprecatedTag> for Tag
impl From<DeprecatedTag> for Tag
source§fn from(v: DeprecatedTag) -> Self
fn from(v: DeprecatedTag) -> Self
Converts to this type from the input type.
source§impl From<DescriptionTag> for Tag
impl From<DescriptionTag> for Tag
source§fn from(v: DescriptionTag) -> Self
fn from(v: DescriptionTag) -> Self
Converts to this type from the input type.
source§impl From<ExampleTag> for Tag
impl From<ExampleTag> for Tag
source§fn from(v: ExampleTag) -> Self
fn from(v: ExampleTag) -> Self
Converts to this type from the input type.
source§impl From<ExportsTag> for Tag
impl From<ExportsTag> for Tag
source§fn from(v: ExportsTag) -> Self
fn from(v: ExportsTag) -> Self
Converts to this type from the input type.
source§impl From<ExternalTag> for Tag
impl From<ExternalTag> for Tag
source§fn from(v: ExternalTag) -> Self
fn from(v: ExternalTag) -> Self
Converts to this type from the input type.
source§impl From<FunctionTag> for Tag
impl From<FunctionTag> for Tag
source§fn from(v: FunctionTag) -> Self
fn from(v: FunctionTag) -> Self
Converts to this type from the input type.
source§impl From<GeneratorTag> for Tag
impl From<GeneratorTag> for Tag
source§fn from(v: GeneratorTag) -> Self
fn from(v: GeneratorTag) -> Self
Converts to this type from the input type.
source§impl From<HideConstructorTag> for Tag
impl From<HideConstructorTag> for Tag
source§fn from(v: HideConstructorTag) -> Self
fn from(v: HideConstructorTag) -> Self
Converts to this type from the input type.
source§impl From<ImplementsTag> for Tag
impl From<ImplementsTag> for Tag
source§fn from(v: ImplementsTag) -> Self
fn from(v: ImplementsTag) -> Self
Converts to this type from the input type.
source§impl From<InheritDocTag> for Tag
impl From<InheritDocTag> for Tag
source§fn from(v: InheritDocTag) -> Self
fn from(v: InheritDocTag) -> Self
Converts to this type from the input type.
source§impl From<InstanceTag> for Tag
impl From<InstanceTag> for Tag
source§fn from(v: InstanceTag) -> Self
fn from(v: InstanceTag) -> Self
Converts to this type from the input type.
source§impl From<InterfaceTag> for Tag
impl From<InterfaceTag> for Tag
source§fn from(v: InterfaceTag) -> Self
fn from(v: InterfaceTag) -> Self
Converts to this type from the input type.
source§impl From<JSDocClassDescTag> for Tag
impl From<JSDocClassDescTag> for Tag
source§fn from(v: JSDocClassDescTag) -> Self
fn from(v: JSDocClassDescTag) -> Self
Converts to this type from the input type.
source§impl From<LicenseTag> for Tag
impl From<LicenseTag> for Tag
source§fn from(v: LicenseTag) -> Self
fn from(v: LicenseTag) -> Self
Converts to this type from the input type.
source§impl From<ListensTag> for Tag
impl From<ListensTag> for Tag
source§fn from(v: ListensTag) -> Self
fn from(v: ListensTag) -> Self
Converts to this type from the input type.
source§impl From<MemberOfTag> for Tag
impl From<MemberOfTag> for Tag
source§fn from(v: MemberOfTag) -> Self
fn from(v: MemberOfTag) -> Self
Converts to this type from the input type.
source§impl From<NamespaceTag> for Tag
impl From<NamespaceTag> for Tag
source§fn from(v: NamespaceTag) -> Self
fn from(v: NamespaceTag) -> Self
Converts to this type from the input type.
source§impl From<OverrideTag> for Tag
impl From<OverrideTag> for Tag
source§fn from(v: OverrideTag) -> Self
fn from(v: OverrideTag) -> Self
Converts to this type from the input type.
source§impl From<PackageTag> for Tag
impl From<PackageTag> for Tag
source§fn from(v: PackageTag) -> Self
fn from(v: PackageTag) -> Self
Converts to this type from the input type.
source§impl From<ParameterTag> for Tag
impl From<ParameterTag> for Tag
source§fn from(v: ParameterTag) -> Self
fn from(v: ParameterTag) -> Self
Converts to this type from the input type.
source§impl From<PrivateTag> for Tag
impl From<PrivateTag> for Tag
source§fn from(v: PrivateTag) -> Self
fn from(v: PrivateTag) -> Self
Converts to this type from the input type.
source§impl From<PropertyTag> for Tag
impl From<PropertyTag> for Tag
source§fn from(v: PropertyTag) -> Self
fn from(v: PropertyTag) -> Self
Converts to this type from the input type.
source§impl From<ProtectedTag> for Tag
impl From<ProtectedTag> for Tag
source§fn from(v: ProtectedTag) -> Self
fn from(v: ProtectedTag) -> Self
Converts to this type from the input type.
source§impl From<ReadonlyTag> for Tag
impl From<ReadonlyTag> for Tag
source§fn from(v: ReadonlyTag) -> Self
fn from(v: ReadonlyTag) -> Self
Converts to this type from the input type.
source§impl From<RequiresTag> for Tag
impl From<RequiresTag> for Tag
source§fn from(v: RequiresTag) -> Self
fn from(v: RequiresTag) -> Self
Converts to this type from the input type.
source§impl From<SummaryTag> for Tag
impl From<SummaryTag> for Tag
source§fn from(v: SummaryTag) -> Self
fn from(v: SummaryTag) -> Self
Converts to this type from the input type.
source§impl From<TemplateTag> for Tag
impl From<TemplateTag> for Tag
source§fn from(v: TemplateTag) -> Self
fn from(v: TemplateTag) -> Self
Converts to this type from the input type.
source§impl From<TutorialTag> for Tag
impl From<TutorialTag> for Tag
source§fn from(v: TutorialTag) -> Self
fn from(v: TutorialTag) -> Self
Converts to this type from the input type.
source§impl From<TypeDefTag> for Tag
impl From<TypeDefTag> for Tag
source§fn from(v: TypeDefTag) -> Self
fn from(v: TypeDefTag) -> Self
Converts to this type from the input type.
source§impl From<TypedefTag> for Tag
impl From<TypedefTag> for Tag
source§fn from(v: TypedefTag) -> Self
fn from(v: TypedefTag) -> Self
Converts to this type from the input type.
source§impl From<UnknownTag> for Tag
impl From<UnknownTag> for Tag
source§fn from(v: UnknownTag) -> Self
fn from(v: UnknownTag) -> Self
Converts to this type from the input type.
source§impl From<VariationTag> for Tag
impl From<VariationTag> for Tag
source§fn from(v: VariationTag) -> Self
fn from(v: VariationTag) -> Self
Converts to this type from the input type.
source§impl From<VersionTag> for Tag
impl From<VersionTag> for Tag
source§fn from(v: VersionTag) -> Self
fn from(v: VersionTag) -> Self
Converts to this type from the input type.
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> 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