Enum rustdoc::html::highlight::Class [−][src]
enum Class {
}
Expand description
How a span of text is classified. Mostly corresponds to token kinds.
Variants
Self_(Span)
Tuple Fields of Self_
0: Span
Ident(Span)
Tuple Fields of Ident
0: Span
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Class
impl UnwindSafe for Class
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. 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: 12 bytes
Size for each variant:
Comment
: 0 bytesDocComment
: 0 bytesAttribute
: 0 bytesKeyWord
: 0 bytesRefKeyWord
: 0 bytesSelf_
: 8 bytesOp
: 0 bytesMacro
: 0 bytesMacroNonTerminal
: 0 bytesString
: 0 bytesNumber
: 0 bytesBool
: 0 bytesIdent
: 8 bytesLifetime
: 0 bytesPreludeTy
: 0 bytesPreludeVal
: 0 bytesQuestionMark
: 0 bytes