pub struct ParseResult<Output, It>where
Output: Tuple,
It: InputIteratorTrait,{
pub output: Option<Output>,
pub it: It,
}Expand description
struct that holds the result of parsing.
Fields§
§output: Option<Output>Output of parsing, extracted data.
‘None’ means parsing failed
it: Ititerator after parsing.
if parsing failed, this will be the same as the input iterator.
Trait Implementations§
Auto Trait Implementations§
impl<Output, It> Freeze for ParseResult<Output, It>
impl<Output, It> RefUnwindSafe for ParseResult<Output, It>where
It: RefUnwindSafe,
Output: RefUnwindSafe,
impl<Output, It> Send for ParseResult<Output, It>
impl<Output, It> Sync for ParseResult<Output, It>
impl<Output, It> Unpin for ParseResult<Output, It>
impl<Output, It> UnwindSafe for ParseResult<Output, It>where
It: UnwindSafe,
Output: 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