#[repr(u16)]pub enum CsvSyntaxKind {
Show 13 variants
Whitespace = 0,
Newline = 1,
Field = 2,
QuotedField = 3,
UnquotedField = 4,
Comma = 5,
Quote = 6,
EscapedQuote = 7,
EmptyField = 8,
Record = 9,
SourceFile = 10,
Error = 11,
Eof = 12,
}Variants§
Whitespace = 0
Newline = 1
Field = 2
QuotedField = 3
UnquotedField = 4
Comma = 5
Quote = 6
EscapedQuote = 7
EmptyField = 8
Record = 9
SourceFile = 10
Error = 11
Eof = 12
Trait Implementations§
Source§impl Clone for CsvSyntaxKind
impl Clone for CsvSyntaxKind
Source§fn clone(&self) -> CsvSyntaxKind
fn clone(&self) -> CsvSyntaxKind
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 CsvSyntaxKind
impl Debug for CsvSyntaxKind
Source§impl Hash for CsvSyntaxKind
impl Hash for CsvSyntaxKind
Source§impl Ord for CsvSyntaxKind
impl Ord for CsvSyntaxKind
Source§fn cmp(&self, other: &CsvSyntaxKind) -> Ordering
fn cmp(&self, other: &CsvSyntaxKind) -> 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 CsvSyntaxKind
impl PartialEq for CsvSyntaxKind
Source§impl PartialOrd for CsvSyntaxKind
impl PartialOrd for CsvSyntaxKind
Source§impl SyntaxKind for CsvSyntaxKind
impl SyntaxKind for CsvSyntaxKind
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 CsvSyntaxKind
impl Eq for CsvSyntaxKind
impl StructuralPartialEq for CsvSyntaxKind
Auto Trait Implementations§
impl Freeze for CsvSyntaxKind
impl RefUnwindSafe for CsvSyntaxKind
impl Send for CsvSyntaxKind
impl Sync for CsvSyntaxKind
impl Unpin for CsvSyntaxKind
impl UnwindSafe for CsvSyntaxKind
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