pub struct EOFChar;Expand description
Parses only the end of the input
use minparser::prelude::*;
let st = MatchHelper::from("My data ");
st.match_atom("My data ").unwrap().match_atom(EOFChar).unwrap();Trait Implementations§
impl Copy for EOFChar
Auto Trait Implementations§
impl Freeze for EOFChar
impl RefUnwindSafe for EOFChar
impl Send for EOFChar
impl Sync for EOFChar
impl Unpin for EOFChar
impl UnwindSafe for EOFChar
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