#[repr(u16)]pub enum CssSyntaxKind {
Show 79 variants
Whitespace = 0,
Newline = 1,
Comment = 2,
StringLiteral = 3,
NumberLiteral = 4,
ColorLiteral = 5,
UrlLiteral = 6,
Identifier = 7,
ClassName = 8,
IdSelector = 9,
TagName = 10,
PseudoClass = 11,
PseudoElement = 12,
AttributeName = 13,
PropertyName = 14,
FunctionName = 15,
Important = 16,
Inherit = 17,
Initial = 18,
Unset = 19,
Auto = 20,
None = 21,
Normal = 22,
Px = 23,
Em = 24,
Rem = 25,
Percent = 26,
Vh = 27,
Vw = 28,
Pt = 29,
Cm = 30,
Mm = 31,
In = 32,
Pc = 33,
Ex = 34,
Ch = 35,
Vmin = 36,
Vmax = 37,
Colon = 38,
Semicolon = 39,
Comma = 40,
Dot = 41,
Hash = 42,
Plus = 43,
Minus = 44,
Star = 45,
Slash = 46,
Equals = 47,
Tilde = 48,
Pipe = 49,
Caret = 50,
Dollar = 51,
GreaterThan = 52,
LeftParen = 53,
RightParen = 54,
LeftBrace = 55,
RightBrace = 56,
LeftBracket = 57,
RightBracket = 58,
AtRule = 59,
AtImport = 60,
AtMedia = 61,
AtKeyframes = 62,
AtFontFace = 63,
AtCharset = 64,
AtNamespace = 65,
AtSupports = 66,
AtPage = 67,
AtDocument = 68,
MediaQuery = 69,
Selector = 70,
Declaration = 71,
Value = 72,
Function = 73,
Url = 74,
CalcExpression = 75,
SourceFile = 76,
Error = 77,
Eof = 78,
}Variants§
Whitespace = 0
Newline = 1
Comment = 2
StringLiteral = 3
NumberLiteral = 4
ColorLiteral = 5
UrlLiteral = 6
Identifier = 7
ClassName = 8
IdSelector = 9
TagName = 10
PseudoClass = 11
PseudoElement = 12
AttributeName = 13
PropertyName = 14
FunctionName = 15
Important = 16
Inherit = 17
Initial = 18
Unset = 19
Auto = 20
None = 21
Normal = 22
Px = 23
Em = 24
Rem = 25
Percent = 26
Vh = 27
Vw = 28
Pt = 29
Cm = 30
Mm = 31
In = 32
Pc = 33
Ex = 34
Ch = 35
Vmin = 36
Vmax = 37
Colon = 38
Semicolon = 39
Comma = 40
Dot = 41
Hash = 42
Plus = 43
Minus = 44
Star = 45
Slash = 46
Equals = 47
Tilde = 48
Pipe = 49
Caret = 50
Dollar = 51
GreaterThan = 52
LeftParen = 53
RightParen = 54
LeftBrace = 55
RightBrace = 56
LeftBracket = 57
RightBracket = 58
AtRule = 59
AtImport = 60
AtMedia = 61
AtKeyframes = 62
AtFontFace = 63
AtCharset = 64
AtNamespace = 65
AtSupports = 66
AtPage = 67
AtDocument = 68
MediaQuery = 69
Selector = 70
Declaration = 71
Value = 72
Function = 73
Url = 74
CalcExpression = 75
SourceFile = 76
Error = 77
Eof = 78
Trait Implementations§
Source§impl Clone for CssSyntaxKind
impl Clone for CssSyntaxKind
Source§fn clone(&self) -> CssSyntaxKind
fn clone(&self) -> CssSyntaxKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CssSyntaxKind
impl Debug for CssSyntaxKind
Source§impl Hash for CssSyntaxKind
impl Hash for CssSyntaxKind
Source§impl Ord for CssSyntaxKind
impl Ord for CssSyntaxKind
Source§fn cmp(&self, other: &CssSyntaxKind) -> Ordering
fn cmp(&self, other: &CssSyntaxKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CssSyntaxKind
impl PartialEq for CssSyntaxKind
Source§impl PartialOrd for CssSyntaxKind
impl PartialOrd for CssSyntaxKind
Source§impl SyntaxKind for CssSyntaxKind
impl SyntaxKind for CssSyntaxKind
Source§fn is_trivia(&self) -> bool
fn is_trivia(&self) -> bool
Returns true if this kind represents trivia (whitespace, comments, etc.). Read more
Source§fn is_comment(&self) -> bool
fn is_comment(&self) -> bool
Returns true if this kind represents a comment. Read more
Source§fn is_whitespace(&self) -> bool
fn is_whitespace(&self) -> bool
Returns true if this kind represents whitespace.
Source§fn is_token_type(&self) -> bool
fn is_token_type(&self) -> bool
Returns true if this kind represents a token type. Read more
Source§fn is_element_type(&self) -> bool
fn is_element_type(&self) -> bool
Returns true if this kind represents an element type. Read more
impl Copy for CssSyntaxKind
impl Eq for CssSyntaxKind
impl StructuralPartialEq for CssSyntaxKind
Auto Trait Implementations§
impl Freeze for CssSyntaxKind
impl RefUnwindSafe for CssSyntaxKind
impl Send for CssSyntaxKind
impl Sync for CssSyntaxKind
impl Unpin for CssSyntaxKind
impl UnwindSafe for CssSyntaxKind
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