pub struct DefaultLanguageRegistry { /* private fields */ }Expand description
The default registry: exactly the grammars compiled in via Cargo
features (see this crate’s Cargo.toml — lang-rust is on by default
as the minimal working example; every other grammar is opt-in so
consumers only pay its ~200-300KB binary-size cost if they enable it).
Implementations§
Trait Implementations§
Source§impl Default for DefaultLanguageRegistry
impl Default for DefaultLanguageRegistry
Auto Trait Implementations§
impl Freeze for DefaultLanguageRegistry
impl RefUnwindSafe for DefaultLanguageRegistry
impl Send for DefaultLanguageRegistry
impl Sync for DefaultLanguageRegistry
impl Unpin for DefaultLanguageRegistry
impl UnsafeUnpin for DefaultLanguageRegistry
impl UnwindSafe for DefaultLanguageRegistry
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