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 Forget for DebugSeqItem
impl Freeze for DebugSeqItem
impl Move for DebugSeqItem
impl RefUnwindSafe for DebugSeqItem
impl Send for DebugSeqItemwhere
RawVecInner: Send,
impl Sync for DebugSeqItemwhere
RawVecInner: Sync,
impl Unpin for DebugSeqItem
impl UnsafeUnpin for DebugSeqItemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DebugSeqItemwhere
RawVecInner: 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
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.