pub struct CompressedDAGNodeRef {
pub segment: usize,
pub index: usize,
}
Expand description
Reference to a node in a CompressedDAG.
Fields§
§segment: usize
Index of the segment in the CompressedDAG.
index: usize
Index 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 copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Source§impl PartialEq for CompressedDAGNodeRef
impl PartialEq for CompressedDAGNodeRef
impl Copy for CompressedDAGNodeRef
impl Eq for CompressedDAGNodeRef
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 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