Struct panduck_core::ExtensionRegistrar
source · [−]pub struct ExtensionRegistrar { /* private fields */ }
Implementations
sourceimpl ExtensionRegistrar
impl ExtensionRegistrar
pub fn insert(&mut self, h: ExtensionHandler)
pub fn get(&self, ext: &str) -> BTreeSet<Rc<ExtensionHandler>>
pub fn parse_by_ext(&self, file: impl AsRef<Path>) -> Result<ASTNode>
Auto Trait Implementations
impl RefUnwindSafe for ExtensionRegistrar
impl !Send for ExtensionRegistrar
impl !Sync for ExtensionRegistrar
impl Unpin for ExtensionRegistrar
impl UnwindSafe for ExtensionRegistrar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more