pub struct NamedParser {
pub name: &'static str,
pub flags: Flags,
pub parser: Arc<dyn Parser>,
}Expand description
A parser in a configuration slot, with the upstream class name and constructor flags.
Fields§
§name: &'static str§flags: Flags§parser: Arc<dyn Parser>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NamedParser
impl !UnwindSafe for NamedParser
impl Forget for NamedParser
impl Freeze for NamedParser
impl Send for NamedParser
impl Sync for NamedParser
impl Unpin for NamedParser
impl UnsafeUnpin for NamedParser
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