#[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
sourceimpl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<AbstractTag> for Tag
impl From<AbstractTag> for Tag
sourcefn from(v: AbstractTag) -> Self
fn from(v: AbstractTag) -> Self
Converts to this type from the input type.
sourceimpl From<AugmentsTag> for Tag
impl From<AugmentsTag> for Tag
sourcefn from(v: AugmentsTag) -> Self
fn from(v: AugmentsTag) -> Self
Converts to this type from the input type.
sourceimpl From<BorrowsTag> for Tag
impl From<BorrowsTag> for Tag
sourcefn from(v: BorrowsTag) -> Self
fn from(v: BorrowsTag) -> Self
Converts to this type from the input type.
sourceimpl From<CallbackTag> for Tag
impl From<CallbackTag> for Tag
sourcefn from(v: CallbackTag) -> Self
fn from(v: CallbackTag) -> Self
Converts to this type from the input type.
sourceimpl From<ConstructsTag> for Tag
impl From<ConstructsTag> for Tag
sourcefn from(v: ConstructsTag) -> Self
fn from(v: ConstructsTag) -> Self
Converts to this type from the input type.
sourceimpl From<CopyrightTag> for Tag
impl From<CopyrightTag> for Tag
sourcefn from(v: CopyrightTag) -> Self
fn from(v: CopyrightTag) -> Self
Converts to this type from the input type.
sourceimpl From<DefaultTag> for Tag
impl From<DefaultTag> for Tag
sourcefn from(v: DefaultTag) -> Self
fn from(v: DefaultTag) -> Self
Converts to this type from the input type.
sourceimpl From<DeprecatedTag> for Tag
impl From<DeprecatedTag> for Tag
sourcefn from(v: DeprecatedTag) -> Self
fn from(v: DeprecatedTag) -> Self
Converts to this type from the input type.
sourceimpl From<DescriptionTag> for Tag
impl From<DescriptionTag> for Tag
sourcefn from(v: DescriptionTag) -> Self
fn from(v: DescriptionTag) -> Self
Converts to this type from the input type.
sourceimpl From<ExampleTag> for Tag
impl From<ExampleTag> for Tag
sourcefn from(v: ExampleTag) -> Self
fn from(v: ExampleTag) -> Self
Converts to this type from the input type.
sourceimpl From<ExportsTag> for Tag
impl From<ExportsTag> for Tag
sourcefn from(v: ExportsTag) -> Self
fn from(v: ExportsTag) -> Self
Converts to this type from the input type.
sourceimpl From<ExternalTag> for Tag
impl From<ExternalTag> for Tag
sourcefn from(v: ExternalTag) -> Self
fn from(v: ExternalTag) -> Self
Converts to this type from the input type.
sourceimpl From<FunctionTag> for Tag
impl From<FunctionTag> for Tag
sourcefn from(v: FunctionTag) -> Self
fn from(v: FunctionTag) -> Self
Converts to this type from the input type.
sourceimpl From<GeneratorTag> for Tag
impl From<GeneratorTag> for Tag
sourcefn from(v: GeneratorTag) -> Self
fn from(v: GeneratorTag) -> Self
Converts to this type from the input type.
sourceimpl From<HideConstructorTag> for Tag
impl From<HideConstructorTag> for Tag
sourcefn from(v: HideConstructorTag) -> Self
fn from(v: HideConstructorTag) -> Self
Converts to this type from the input type.
sourceimpl From<ImplementsTag> for Tag
impl From<ImplementsTag> for Tag
sourcefn from(v: ImplementsTag) -> Self
fn from(v: ImplementsTag) -> Self
Converts to this type from the input type.
sourceimpl From<InheritDocTag> for Tag
impl From<InheritDocTag> for Tag
sourcefn from(v: InheritDocTag) -> Self
fn from(v: InheritDocTag) -> Self
Converts to this type from the input type.
sourceimpl From<InstanceTag> for Tag
impl From<InstanceTag> for Tag
sourcefn from(v: InstanceTag) -> Self
fn from(v: InstanceTag) -> Self
Converts to this type from the input type.
sourceimpl From<InterfaceTag> for Tag
impl From<InterfaceTag> for Tag
sourcefn from(v: InterfaceTag) -> Self
fn from(v: InterfaceTag) -> Self
Converts to this type from the input type.
sourceimpl From<JSDocClassDescTag> for Tag
impl From<JSDocClassDescTag> for Tag
sourcefn from(v: JSDocClassDescTag) -> Self
fn from(v: JSDocClassDescTag) -> Self
Converts to this type from the input type.
sourceimpl From<LicenseTag> for Tag
impl From<LicenseTag> for Tag
sourcefn from(v: LicenseTag) -> Self
fn from(v: LicenseTag) -> Self
Converts to this type from the input type.
sourceimpl From<ListensTag> for Tag
impl From<ListensTag> for Tag
sourcefn from(v: ListensTag) -> Self
fn from(v: ListensTag) -> Self
Converts to this type from the input type.
sourceimpl From<MemberOfTag> for Tag
impl From<MemberOfTag> for Tag
sourcefn from(v: MemberOfTag) -> Self
fn from(v: MemberOfTag) -> Self
Converts to this type from the input type.
sourceimpl From<NamespaceTag> for Tag
impl From<NamespaceTag> for Tag
sourcefn from(v: NamespaceTag) -> Self
fn from(v: NamespaceTag) -> Self
Converts to this type from the input type.
sourceimpl From<OverrideTag> for Tag
impl From<OverrideTag> for Tag
sourcefn from(v: OverrideTag) -> Self
fn from(v: OverrideTag) -> Self
Converts to this type from the input type.
sourceimpl From<PackageTag> for Tag
impl From<PackageTag> for Tag
sourcefn from(v: PackageTag) -> Self
fn from(v: PackageTag) -> Self
Converts to this type from the input type.
sourceimpl From<ParameterTag> for Tag
impl From<ParameterTag> for Tag
sourcefn from(v: ParameterTag) -> Self
fn from(v: ParameterTag) -> Self
Converts to this type from the input type.
sourceimpl From<PrivateTag> for Tag
impl From<PrivateTag> for Tag
sourcefn from(v: PrivateTag) -> Self
fn from(v: PrivateTag) -> Self
Converts to this type from the input type.
sourceimpl From<PropertyTag> for Tag
impl From<PropertyTag> for Tag
sourcefn from(v: PropertyTag) -> Self
fn from(v: PropertyTag) -> Self
Converts to this type from the input type.
sourceimpl From<ProtectedTag> for Tag
impl From<ProtectedTag> for Tag
sourcefn from(v: ProtectedTag) -> Self
fn from(v: ProtectedTag) -> Self
Converts to this type from the input type.
sourceimpl From<ReadonlyTag> for Tag
impl From<ReadonlyTag> for Tag
sourcefn from(v: ReadonlyTag) -> Self
fn from(v: ReadonlyTag) -> Self
Converts to this type from the input type.
sourceimpl From<RequiresTag> for Tag
impl From<RequiresTag> for Tag
sourcefn from(v: RequiresTag) -> Self
fn from(v: RequiresTag) -> Self
Converts to this type from the input type.
sourceimpl From<SummaryTag> for Tag
impl From<SummaryTag> for Tag
sourcefn from(v: SummaryTag) -> Self
fn from(v: SummaryTag) -> Self
Converts to this type from the input type.
sourceimpl From<TemplateTag> for Tag
impl From<TemplateTag> for Tag
sourcefn from(v: TemplateTag) -> Self
fn from(v: TemplateTag) -> Self
Converts to this type from the input type.
sourceimpl From<TutorialTag> for Tag
impl From<TutorialTag> for Tag
sourcefn from(v: TutorialTag) -> Self
fn from(v: TutorialTag) -> Self
Converts to this type from the input type.
sourceimpl From<TypeDefTag> for Tag
impl From<TypeDefTag> for Tag
sourcefn from(v: TypeDefTag) -> Self
fn from(v: TypeDefTag) -> Self
Converts to this type from the input type.
sourceimpl From<TypedefTag> for Tag
impl From<TypedefTag> for Tag
sourcefn from(v: TypedefTag) -> Self
fn from(v: TypedefTag) -> Self
Converts to this type from the input type.
sourceimpl From<UnknownTag> for Tag
impl From<UnknownTag> for Tag
sourcefn from(v: UnknownTag) -> Self
fn from(v: UnknownTag) -> Self
Converts to this type from the input type.
sourceimpl From<VariationTag> for Tag
impl From<VariationTag> for Tag
sourcefn from(v: VariationTag) -> Self
fn from(v: VariationTag) -> Self
Converts to this type from the input type.
sourceimpl From<VersionTag> for Tag
impl From<VersionTag> for Tag
sourcefn 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 RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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