Enum rustdoc::html::highlight::Class [−][src]
enum Class {
Show variants
Comment,
DocComment,
Attribute,
KeyWord,
RefKeyWord,
Self_,
Op,
Macro,
MacroNonTerminal,
String,
Number,
Bool,
Ident,
Lifetime,
PreludeTy,
PreludeVal,
QuestionMark,
}Expand description
How a span of text is classified. Mostly corresponds to token kinds.
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Classimpl UnwindSafe for ClassBlanket 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) -> VLayout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 1 byte