pub enum NodeRef<I: NodeIds> {
Plain0(I::L0),
Plain1(I::L1),
Plain2(I::L2),
Plain3(I::L3),
SPair(I::LSPair),
PlainN(I::LN),
Seq(I::LSeq),
MSet(I::LMSet),
Set(I::LSet),
Lit(I::LLit),
}Expand description
Typed local id reference — one variant per node kind.
Variants§
Plain0(I::L0)
Plain1(I::L1)
Plain2(I::L2)
Plain3(I::L3)
SPair(I::LSPair)
PlainN(I::LN)
Seq(I::LSeq)
MSet(I::LMSet)
Set(I::LSet)
Lit(I::LLit)
Trait Implementations§
impl<I: NodeIds> Copy for NodeRef<I>
impl<I: NodeIds> Eq for NodeRef<I>
Auto Trait Implementations§
impl<I> Freeze for NodeRef<I>
impl<I> RefUnwindSafe for NodeRef<I>where
<I as NodeIds>::L0: RefUnwindSafe,
<I as NodeIds>::L1: RefUnwindSafe,
<I as NodeIds>::L2: RefUnwindSafe,
<I as NodeIds>::L3: RefUnwindSafe,
<I as NodeIds>::LSPair: RefUnwindSafe,
<I as NodeIds>::LN: RefUnwindSafe,
<I as NodeIds>::LSeq: RefUnwindSafe,
<I as NodeIds>::LMSet: RefUnwindSafe,
<I as NodeIds>::LSet: RefUnwindSafe,
<I as NodeIds>::LLit: RefUnwindSafe,
impl<I> Send for NodeRef<I>
impl<I> Sync for NodeRef<I>
impl<I> Unpin for NodeRef<I>
impl<I> UnsafeUnpin for NodeRef<I>where
<I as NodeIds>::L0: UnsafeUnpin,
<I as NodeIds>::L1: UnsafeUnpin,
<I as NodeIds>::L2: UnsafeUnpin,
<I as NodeIds>::L3: UnsafeUnpin,
<I as NodeIds>::LSPair: UnsafeUnpin,
<I as NodeIds>::LN: UnsafeUnpin,
<I as NodeIds>::LSeq: UnsafeUnpin,
<I as NodeIds>::LMSet: UnsafeUnpin,
<I as NodeIds>::LSet: UnsafeUnpin,
<I as NodeIds>::LLit: UnsafeUnpin,
impl<I> UnwindSafe for NodeRef<I>where
<I as NodeIds>::L0: UnwindSafe,
<I as NodeIds>::L1: UnwindSafe,
<I as NodeIds>::L2: UnwindSafe,
<I as NodeIds>::L3: UnwindSafe,
<I as NodeIds>::LSPair: UnwindSafe,
<I as NodeIds>::LN: UnwindSafe,
<I as NodeIds>::LSeq: UnwindSafe,
<I as NodeIds>::LMSet: UnwindSafe,
<I as NodeIds>::LSet: UnwindSafe,
<I as NodeIds>::LLit: 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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.