pub enum DebugSeqItem {
One(String),
Any(Vec<String>),
}Expand description
One lookahead position of an alternate’s token sequence: a single token name, or the several names a multi-token position accepts.
Serialises untagged — a bare string or an array of strings — matching
the TypeScript (string | string[])[] and the Go []any.
Variants§
Trait Implementations§
Source§impl Clone for DebugSeqItem
impl Clone for DebugSeqItem
Source§impl Debug for DebugSeqItem
impl Debug for DebugSeqItem
impl Eq for DebugSeqItem
Source§impl PartialEq for DebugSeqItem
impl PartialEq for DebugSeqItem
Source§impl Serialize for DebugSeqItem
impl Serialize for DebugSeqItem
impl StructuralPartialEq for DebugSeqItem
Auto Trait Implementations§
impl Freeze for DebugSeqItem
impl RefUnwindSafe for DebugSeqItem
impl Send for DebugSeqItem
impl Sync for DebugSeqItem
impl Unpin for DebugSeqItem
impl UnsafeUnpin for DebugSeqItem
impl UnwindSafe for DebugSeqItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.