pub struct ParseAmbiguity {
pub position: usize,
pub alternatives: Vec<String>,
pub resolved_to: Option<String>,
}Expand description
Represents a parse ambiguity between two alternatives.
Fields§
§position: usize§alternatives: Vec<String>§resolved_to: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ParseAmbiguity
impl Clone for ParseAmbiguity
Source§fn clone(&self) -> ParseAmbiguity
fn clone(&self) -> ParseAmbiguity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParseAmbiguity
impl RefUnwindSafe for ParseAmbiguity
impl Send for ParseAmbiguity
impl Sync for ParseAmbiguity
impl Unpin for ParseAmbiguity
impl UnsafeUnpin for ParseAmbiguity
impl UnwindSafe for ParseAmbiguity
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