pub struct DefaultLanguageRegistry;Expand description
Concrete implementation of LanguageRegistry backed by the static dispatch tables.
Trait Implementations§
Source§impl LanguageRegistry for DefaultLanguageRegistry
impl LanguageRegistry for DefaultLanguageRegistry
fn parser_for(&self, ext: &str) -> Option<&dyn LanguageParser>
fn resolver_for( &self, ext: &str, root: &Path, ) -> Option<Box<dyn LanguageResolver>>
fn supported_extensions(&self) -> &[&str]
fn config_files(&self) -> &[&str]
fn sibling_expansion(&self, rel_path: &str) -> Option<SiblingExpansion>
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