pub struct DagNodeId(/* private fields */);Expand description
An index into the DagArena, identifying a specific DagNode.
This is a lightweight handle (4 bytes) that can be freely copied and compared. It is only valid within the arena that created it.
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for DagNodeId
impl<'__de, __Context> BorrowDecode<'__de, __Context> for DagNodeId
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given [
BorrowDecode]. Read moreimpl Copy for DagNodeId
impl Eq for DagNodeId
impl StructuralPartialEq for DagNodeId
Auto Trait Implementations§
impl Freeze for DagNodeId
impl RefUnwindSafe for DagNodeId
impl Send for DagNodeId
impl Sync for DagNodeId
impl Unpin for DagNodeId
impl UnsafeUnpin for DagNodeId
impl UnwindSafe for DagNodeId
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.