pub enum CombResult<T> {
Ok(T, usize),
Err(String, usize),
}Expand description
Represents a parser combinator result.
Variants§
Implementations§
Auto Trait Implementations§
impl<T> Freeze for CombResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for CombResult<T>where
T: RefUnwindSafe,
impl<T> Send for CombResult<T>where
T: Send,
impl<T> Sync for CombResult<T>where
T: Sync,
impl<T> Unpin for CombResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for CombResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for CombResult<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