pub enum IniSyntaxKind {
Show 29 variants
Whitespace,
Newline,
Comment,
Error,
Eof,
Root,
Document,
Table,
ArrayOfTables,
Array,
InlineTable,
KeyValue,
Key,
Value,
LeftBrace,
RightBrace,
LeftBracket,
RightBracket,
DoubleLeftBracket,
DoubleRightBracket,
Comma,
Dot,
Equal,
Identifier,
String,
Integer,
Float,
Boolean,
DateTime,
}Variants§
Whitespace
Newline
Comment
Error
Eof
Root
Document
Table
ArrayOfTables
Array
InlineTable
KeyValue
Key
Value
LeftBrace
RightBrace
LeftBracket
RightBracket
DoubleLeftBracket
DoubleRightBracket
Comma
Dot
Equal
Identifier
String
Integer
Float
Boolean
DateTime
Implementations§
Trait Implementations§
Source§impl Clone for IniSyntaxKind
impl Clone for IniSyntaxKind
Source§fn clone(&self) -> IniSyntaxKind
fn clone(&self) -> IniSyntaxKind
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 IniSyntaxKind
impl Debug for IniSyntaxKind
Source§impl<'de> Deserialize<'de> for IniSyntaxKind
impl<'de> Deserialize<'de> for IniSyntaxKind
Source§fn 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
Source§impl ElementType for IniSyntaxKind
impl ElementType for IniSyntaxKind
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_root(&self) -> bool
fn is_root(&self) -> bool
Returns true if this element represents the root of the parsed tree. Read more
Source§fn is_error(&self) -> bool
fn is_error(&self) -> bool
Returns true if this element represents an error condition. Read more
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl Hash for IniSyntaxKind
impl Hash for IniSyntaxKind
Source§impl PartialEq for IniSyntaxKind
impl PartialEq for IniSyntaxKind
Source§impl Serialize for IniSyntaxKind
impl Serialize for IniSyntaxKind
Source§impl TokenType for IniSyntaxKind
impl TokenType for IniSyntaxKind
Source§const END_OF_STREAM: Self = Self::Eof
const END_OF_STREAM: Self = Self::Eof
A constant representing the end of the input stream. Read more
Source§type Role = UniversalTokenRole
type Role = UniversalTokenRole
The associated role type for this token kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this token matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalTokenRole) -> bool
fn is_universal(&self, role: UniversalTokenRole) -> bool
Returns true if this token matches the specified universal role.
Source§fn is_comment(&self) -> bool
fn is_comment(&self) -> bool
Returns true if this token represents a comment. Read more
Source§fn is_whitespace(&self) -> bool
fn is_whitespace(&self) -> bool
Returns true if this token represents whitespace. Read more
Source§fn is_error(&self) -> bool
fn is_error(&self) -> bool
Returns true if this token represents an error condition. Read more
Source§fn is_ignored(&self) -> bool
fn is_ignored(&self) -> bool
Returns true if this token represents trivia (whitespace, comments, etc.). Read more
Source§fn is_end_of_stream(&self) -> bool
fn is_end_of_stream(&self) -> bool
Returns true if this token represents the end of the input stream. Read more
impl Copy for IniSyntaxKind
impl Eq for IniSyntaxKind
impl StructuralPartialEq for IniSyntaxKind
Auto Trait Implementations§
impl Freeze for IniSyntaxKind
impl RefUnwindSafe for IniSyntaxKind
impl Send for IniSyntaxKind
impl Sync for IniSyntaxKind
impl Unpin for IniSyntaxKind
impl UnwindSafe for IniSyntaxKind
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