pub struct Parser<F, P>{
pub run: F,
pub name: &'static str,
}
Expand description
Container for an infailable parser.
Fields§
§run: F
§name: &'static str
Trait Implementations§
Auto Trait Implementations§
impl<F, P> Freeze for Parser<F, P>where
F: Freeze,
impl<F, P> RefUnwindSafe for Parser<F, P>where
F: RefUnwindSafe,
impl<F, P> Send for Parser<F, P>where
F: Send,
impl<F, P> Sync for Parser<F, P>where
F: Sync,
impl<F, P> Unpin for Parser<F, P>where
F: Unpin,
impl<F, P> UnwindSafe for Parser<F, P>where
F: UnwindSafe,
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