Struct notedown_rt::PluginSystem
source · [−]pub struct PluginSystem { /* private fields */ }Expand description
Plugin system manager
Implementations
sourceimpl PluginSystem
impl PluginSystem
sourcepub fn register_parser(&self, new: PluginParser) -> Option<PluginParser>
pub fn register_parser(&self, new: PluginParser) -> Option<PluginParser>
Register a new parser
pub fn get_parser(&self, name: &str) -> Option<Parser>
pub fn get_parser_by_extension(&self, e: &str) -> Option<Parser>
Trait Implementations
sourceimpl Debug for PluginSystem
impl Debug for PluginSystem
sourceimpl Default for PluginSystem
impl Default for PluginSystem
sourcefn default() -> PluginSystem
fn default() -> PluginSystem
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PluginSystem
impl Send for PluginSystem
impl Sync for PluginSystem
impl Unpin for PluginSystem
impl UnwindSafe for PluginSystem
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