pub struct Input<'slice, 'src, Lang: Language> { /* private fields */ }
Expand description
Input type for nom parsers
Usually built using Input::from
, which takes a slice of (Language::Kind, &str)
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'slice, 'src, Lang> Freeze for Input<'slice, 'src, Lang>
impl<'slice, 'src, Lang> RefUnwindSafe for Input<'slice, 'src, Lang>
impl<'slice, 'src, Lang> Send for Input<'slice, 'src, Lang>
impl<'slice, 'src, Lang> Sync for Input<'slice, 'src, Lang>
impl<'slice, 'src, Lang> Unpin for Input<'slice, 'src, Lang>
impl<'slice, 'src, Lang> UnwindSafe for Input<'slice, 'src, Lang>
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