pub struct Loader { /* private fields */ }Implementations§
Source§impl Loader
impl Loader
pub fn new( sources_dir: PathBuf, parser_lib_path: Option<PathBuf>, downloads_policy: DownloadsPolicy, ) -> Result<Self, LoaderError>
pub fn get_language( &mut self, source: &ParserSource, ) -> Result<Language, LoaderError>
Auto Trait Implementations§
impl Freeze for Loader
impl RefUnwindSafe for Loader
impl Send for Loader
impl Sync for Loader
impl Unpin for Loader
impl UnwindSafe for Loader
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