Enum pex::ParseAdvance
source · pub enum ParseAdvance {
Offset(usize),
Character(char),
String(&'static str),
}
Expand description
The advance of the parser.
Variants§
Offset(usize)
Offset of the advance.
Character(char)
Character of the advance.
String(&'static str)
String of the advance.
Trait Implementations§
source§impl From<&'static str> for ParseAdvance
impl From<&'static str> for ParseAdvance
source§impl From<char> for ParseAdvance
impl From<char> for ParseAdvance
Auto Trait Implementations§
impl RefUnwindSafe for ParseAdvance
impl Send for ParseAdvance
impl Sync for ParseAdvance
impl Unpin for ParseAdvance
impl UnwindSafe for ParseAdvance
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