pub struct CompressedDAGNodeRef {
pub segment: usize,
pub index: usize,
}Expand description
Reference to a node in a CompressedDAG.
Fields§
§segment: usizeIndex of the segment in the CompressedDAG.
index: usizeIndex of the expanded node within the segment.
Trait Implementations§
Source§impl Clone for CompressedDAGNodeRef
impl Clone for CompressedDAGNodeRef
Source§fn clone(&self) -> CompressedDAGNodeRef
fn clone(&self) -> CompressedDAGNodeRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompressedDAGNodeRef
Source§impl Debug for CompressedDAGNodeRef
impl Debug for CompressedDAGNodeRef
Source§impl Default for CompressedDAGNodeRef
impl Default for CompressedDAGNodeRef
Source§fn default() -> CompressedDAGNodeRef
fn default() -> CompressedDAGNodeRef
Returns the “default value” for a type. Read more
impl Eq for CompressedDAGNodeRef
Source§impl PartialEq for CompressedDAGNodeRef
impl PartialEq for CompressedDAGNodeRef
Source§fn eq(&self, other: &CompressedDAGNodeRef) -> bool
fn eq(&self, other: &CompressedDAGNodeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompressedDAGNodeRef
Auto Trait Implementations§
impl Freeze for CompressedDAGNodeRef
impl RefUnwindSafe for CompressedDAGNodeRef
impl Send for CompressedDAGNodeRef
impl Sync for CompressedDAGNodeRef
impl Unpin for CompressedDAGNodeRef
impl UnsafeUnpin for CompressedDAGNodeRef
impl UnwindSafe for CompressedDAGNodeRef
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