pub struct ParserRegistry { /* private fields */ }Expand description
Registry of all available parsers.
Implementations§
Source§impl ParserRegistry
impl ParserRegistry
Sourcepub fn find_parser(&self, path: &str) -> Option<&dyn ContentParser>
pub fn find_parser(&self, path: &str) -> Option<&dyn ContentParser>
Find a parser that can handle the given path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParserRegistry
impl !RefUnwindSafe for ParserRegistry
impl Send for ParserRegistry
impl Sync for ParserRegistry
impl Unpin for ParserRegistry
impl !UnwindSafe for ParserRegistry
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