pub struct RegexLanguage;Expand description
Regex language configuration and metadata.
Implementations§
Source§impl RegexLanguage
impl RegexLanguage
Trait Implementations§
Source§impl Clone for RegexLanguage
impl Clone for RegexLanguage
Source§fn clone(&self) -> RegexLanguage
fn clone(&self) -> RegexLanguage
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 RegexLanguage
impl Debug for RegexLanguage
Source§impl Default for RegexLanguage
impl Default for RegexLanguage
Source§impl<'de> Deserialize<'de> for RegexLanguage
impl<'de> Deserialize<'de> for RegexLanguage
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 RegexLanguage
impl Hash for RegexLanguage
Source§impl HoverProvider<RegexLanguage> for RegexHoverProvider
Available on crate feature lsp only.
impl HoverProvider<RegexLanguage> for RegexHoverProvider
Available on crate feature
lsp only.Source§impl Language for RegexLanguage
impl Language for RegexLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = RegexTokenType
type TokenType = RegexTokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = RegexElementType
type ElementType = RegexElementType
The element type used to represent composite structures in the parsed tree. Read more
Source§impl PartialEq for RegexLanguage
impl PartialEq for RegexLanguage
Source§impl Serialize for RegexLanguage
impl Serialize for RegexLanguage
impl Copy for RegexLanguage
impl Eq for RegexLanguage
impl StructuralPartialEq for RegexLanguage
Auto Trait Implementations§
impl Freeze for RegexLanguage
impl RefUnwindSafe for RegexLanguage
impl Send for RegexLanguage
impl Sync for RegexLanguage
impl Unpin for RegexLanguage
impl UnsafeUnpin for RegexLanguage
impl UnwindSafe for RegexLanguage
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