pub struct EOFTool;Expand description
Parses only the end of the input
use minparser::view::ViewFile;
let st = "My data ";
ViewFile::new_default(st).match_tool("My data ").unwrap().match_tool(minparser::tools::EOFTool).unwrap();Trait Implementations§
impl Copy for EOFTool
Auto Trait Implementations§
impl Freeze for EOFTool
impl RefUnwindSafe for EOFTool
impl Send for EOFTool
impl Sync for EOFTool
impl Unpin for EOFTool
impl UnwindSafe for EOFTool
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