pub enum DotSyntaxKind {
Show 25 variants
Identifier,
String,
Number,
Whitespace,
Newline,
Graph,
Digraph,
Subgraph,
Node,
Edge,
Strict,
Arrow,
Line,
Equal,
Semicolon,
Comma,
LeftBrace,
RightBrace,
LeftBracket,
RightBracket,
LeftParen,
RightParen,
Comment,
Error,
Eof,
}Expand description
DOT 语法种类(Graphviz
Variants§
Identifier
String
Number
Whitespace
Newline
Graph
Digraph
Subgraph
Node
Edge
Strict
Arrow
Line
Equal
Semicolon
Comma
LeftBrace
RightBrace
LeftBracket
RightBracket
LeftParen
RightParen
Comment
Error
Eof
Trait Implementations§
Source§impl Clone for DotSyntaxKind
impl Clone for DotSyntaxKind
Source§fn clone(&self) -> DotSyntaxKind
fn clone(&self) -> DotSyntaxKind
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 DotSyntaxKind
impl Debug for DotSyntaxKind
Source§impl Hash for DotSyntaxKind
impl Hash for DotSyntaxKind
Source§impl PartialEq for DotSyntaxKind
impl PartialEq for DotSyntaxKind
Source§impl Serialize for DotSyntaxKind
impl Serialize for DotSyntaxKind
Source§impl SyntaxKind for DotSyntaxKind
impl SyntaxKind for DotSyntaxKind
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 DotSyntaxKind
impl Eq for DotSyntaxKind
impl StructuralPartialEq for DotSyntaxKind
Auto Trait Implementations§
impl Freeze for DotSyntaxKind
impl RefUnwindSafe for DotSyntaxKind
impl Send for DotSyntaxKind
impl Sync for DotSyntaxKind
impl Unpin for DotSyntaxKind
impl UnwindSafe for DotSyntaxKind
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