pub struct CsvLanguage {}Implementations§
Source§impl CsvLanguage
impl CsvLanguage
Trait Implementations§
Source§impl Clone for CsvLanguage
impl Clone for CsvLanguage
Source§fn clone(&self) -> CsvLanguage
fn clone(&self) -> CsvLanguage
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 CsvLanguage
impl Debug for CsvLanguage
Source§impl Default for CsvLanguage
impl Default for CsvLanguage
Source§fn default() -> CsvLanguage
fn default() -> CsvLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CsvLanguage
impl<'de> Deserialize<'de> for CsvLanguage
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 Hash for CsvLanguage
impl Hash for CsvLanguage
Source§impl Language for CsvLanguage
impl Language for CsvLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Config
const CATEGORY: LanguageCategory = LanguageCategory::Config
The category of the language.
Source§type TokenType = CsvTokenType
type TokenType = CsvTokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = CsvElementType
type ElementType = CsvElementType
The element type used to represent composite structures in the parsed tree. Read more
Source§impl<'config> Lexer<CsvLanguage> for CsvLexer<'config>
impl<'config> Lexer<CsvLanguage> for CsvLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
text: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<CsvLanguage>,
) -> LexOutput<CsvLanguage>
fn lex<'a, S: Source + ?Sized>( &self, text: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<CsvLanguage>, ) -> LexOutput<CsvLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl Ord for CsvLanguage
impl Ord for CsvLanguage
Source§fn cmp(&self, other: &CsvLanguage) -> Ordering
fn cmp(&self, other: &CsvLanguage) -> 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<'config> Parser<CsvLanguage> for CsvParser<'config>
impl<'config> Parser<CsvLanguage> for CsvParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<CsvLanguage>,
) -> ParseOutput<'a, CsvLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<CsvLanguage>, ) -> ParseOutput<'a, CsvLanguage>
The core parsing entry point. Read more
Source§impl PartialEq for CsvLanguage
impl PartialEq for CsvLanguage
Source§impl PartialOrd for CsvLanguage
impl PartialOrd for CsvLanguage
Source§impl Serialize for CsvLanguage
impl Serialize for CsvLanguage
impl Copy for CsvLanguage
impl Eq for CsvLanguage
impl StructuralPartialEq for CsvLanguage
Auto Trait Implementations§
impl Freeze for CsvLanguage
impl RefUnwindSafe for CsvLanguage
impl Send for CsvLanguage
impl Sync for CsvLanguage
impl Unpin for CsvLanguage
impl UnwindSafe for CsvLanguage
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