pub struct ParserEntry {
pub upstream: &'static str,
pub create: fn(&Flags) -> Box<dyn Parser>,
}Expand description
A registrable parser file: pub const UPSTREAM + pub fn create.
Fields§
§upstream: &'static str§create: fn(&Flags) -> Box<dyn Parser>Auto Trait Implementations§
impl Forget for ParserEntry
impl Freeze for ParserEntry
impl RefUnwindSafe for ParserEntry
impl Send for ParserEntry
impl Sync for ParserEntry
impl Unpin for ParserEntry
impl UnsafeUnpin for ParserEntry
impl UnwindSafe for ParserEntry
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