#[repr(u32)]pub(crate) enum SupportedType {
Show 58 variants
Comment = 0,
Decorator = 1,
EnumMember = 2,
Enum = 3,
Function = 4,
Interface = 5,
Keyword = 6,
Macro = 7,
Method = 8,
Namespace = 9,
Number = 10,
Operator = 11,
Parameter = 12,
Property = 13,
String = 14,
Struct = 15,
TypeParameter = 16,
Variable = 17,
Type = 18,
Label = 19,
Angle = 20,
Arithmetic = 21,
AttributeBracket = 22,
Attribute = 23,
Bitwise = 24,
Boolean = 25,
Brace = 26,
Bracket = 27,
BuiltinAttribute = 28,
BuiltinType = 29,
Char = 30,
Colon = 31,
Comma = 32,
Comparison = 33,
ConstParameter = 34,
Const = 35,
DeriveHelper = 36,
Derive = 37,
Dot = 38,
EscapeSequence = 39,
FormatSpecifier = 40,
Generic = 41,
InvalidEscapeSequence = 42,
Lifetime = 43,
Logical = 44,
MacroBang = 45,
Negation = 46,
Parenthesis = 47,
ProcMacro = 48,
Punctuation = 49,
SelfKeyword = 50,
SelfTypeKeyword = 51,
Semicolon = 52,
Static = 53,
ToolModule = 54,
TypeAlias = 55,
Union = 56,
UnresolvedReference = 57,
}Variants§
Comment = 0
Decorator = 1
EnumMember = 2
Enum = 3
Function = 4
Interface = 5
Keyword = 6
Macro = 7
Method = 8
Namespace = 9
Number = 10
Operator = 11
Parameter = 12
Property = 13
String = 14
Struct = 15
TypeParameter = 16
Variable = 17
Type = 18
Label = 19
Angle = 20
Arithmetic = 21
AttributeBracket = 22
Attribute = 23
Bitwise = 24
Boolean = 25
Brace = 26
Bracket = 27
BuiltinAttribute = 28
BuiltinType = 29
Char = 30
Colon = 31
Comma = 32
Comparison = 33
ConstParameter = 34
Const = 35
DeriveHelper = 36
Derive = 37
Dot = 38
EscapeSequence = 39
FormatSpecifier = 40
Generic = 41
InvalidEscapeSequence = 42
Lifetime = 43
Logical = 44
MacroBang = 45
Negation = 46
Parenthesis = 47
ProcMacro = 48
Punctuation = 49
SelfKeyword = 50
SelfTypeKeyword = 51
Semicolon = 52
Static = 53
ToolModule = 54
TypeAlias = 55
Union = 56
UnresolvedReference = 57
Implementations§
Trait Implementations§
Source§impl Clone for SupportedType
impl Clone for SupportedType
impl Copy for SupportedType
Source§impl Debug for SupportedType
impl Debug for SupportedType
Source§impl Display for SupportedType
impl Display for SupportedType
Source§impl PartialEq for SupportedType
impl PartialEq for SupportedType
impl StructuralPartialEq for SupportedType
Auto Trait Implementations§
impl Freeze for SupportedType
impl RefUnwindSafe for SupportedType
impl Send for SupportedType
impl Sync for SupportedType
impl Unpin for SupportedType
impl UnsafeUnpin for SupportedType
impl UnwindSafe for SupportedType
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,
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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