pub struct DotLanguage {
pub strict_mode: bool,
pub allow_digraph: bool,
}Expand description
DOT 语言配置(Graphviz)
Fields§
§strict_mode: bool是否启用严格模式
allow_digraph: bool是否允许有向图
Trait Implementations§
Source§impl Clone for DotLanguage
impl Clone for DotLanguage
Source§fn clone(&self) -> DotLanguage
fn clone(&self) -> DotLanguage
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 DotLanguage
impl Debug for DotLanguage
Source§impl Default for DotLanguage
impl Default for DotLanguage
Source§impl Language for DotLanguage
impl Language for DotLanguage
Source§type SyntaxKind = DotSyntaxKind
type SyntaxKind = DotSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<DotLanguage> for DotLexer<'config>
impl<'config> Lexer<DotLanguage> for DotLexer<'config>
Source§fn lex(&self, source: impl Source) -> LexOutput<DotLanguage>
fn lex(&self, source: impl Source) -> LexOutput<DotLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, DotLanguage>,
) -> LexOutput<DotLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, DotLanguage>, ) -> LexOutput<DotLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
impl Copy for DotLanguage
Auto Trait Implementations§
impl Freeze for DotLanguage
impl RefUnwindSafe for DotLanguage
impl Send for DotLanguage
impl Sync for DotLanguage
impl Unpin for DotLanguage
impl UnwindSafe for DotLanguage
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