enum TokenMergeResult {
Merged(Token, Range<usize>),
Failed {
current: Token,
current_span: Range<usize>,
incoming: Token,
incoming_span: Range<usize>,
},
}
Variants§
Trait Implementations§
Source§impl Debug for TokenMergeResult
impl Debug for TokenMergeResult
Source§impl PartialEq for TokenMergeResult
impl PartialEq for TokenMergeResult
impl Eq for TokenMergeResult
impl StructuralPartialEq for TokenMergeResult
Auto Trait Implementations§
impl Freeze for TokenMergeResult
impl RefUnwindSafe for TokenMergeResult
impl Send for TokenMergeResult
impl Sync for TokenMergeResult
impl Unpin for TokenMergeResult
impl UnwindSafe for TokenMergeResult
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.