pub struct UntilEnd<T>(/* private fields */);Expand description
A Peekable that peeks until the end of the Scanner.
This Peekable will temporarily advance the position of the Scanner to
find a match. If a match is found, the Scanner is rewound to the original
position and a PeekResult is returned. If no match is found, the Scanner
is rewound to the original position and an Err is returned.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for UntilEnd<T>
impl<T> RefUnwindSafe for UntilEnd<T>where
T: RefUnwindSafe,
impl<T> Send for UntilEnd<T>where
T: Send,
impl<T> Sync for UntilEnd<T>where
T: Sync,
impl<T> Unpin for UntilEnd<T>where
T: Unpin,
impl<T> UnwindSafe for UntilEnd<T>where
T: 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