pub struct ImporterRegistry { /* private fields */ }
Implementations§
Source§impl ImporterRegistry
impl ImporterRegistry
pub fn importers_for_file_extension(&self, extension: &str) -> &[ImporterId]
pub fn importer(&self, importer_id: ImporterId) -> Option<&Arc<dyn Importer>>
Trait Implementations§
Source§impl Clone for ImporterRegistry
impl Clone for ImporterRegistry
Source§fn clone(&self) -> ImporterRegistry
fn clone(&self) -> ImporterRegistry
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 moreAuto Trait Implementations§
impl Freeze for ImporterRegistry
impl RefUnwindSafe for ImporterRegistry
impl Send for ImporterRegistry
impl Sync for ImporterRegistry
impl Unpin for ImporterRegistry
impl UnwindSafe for ImporterRegistry
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