pub struct Witness<J> { /* private fields */ }Trait Implementations§
Source§impl<J: Jet> Marker for Witness<J>
impl<J: Jet> Marker for Witness<J>
Source§type CachedData = WitnessData<J>
type CachedData = WitnessData<J>
Precomputed data about the node, such as its type arrow or various Merkle roots.
Source§type Disconnect = Option<Arc<Node<Witness<J>>>>
type Disconnect = Option<Arc<Node<Witness<J>>>>
Type of disconnect data attached to DAGs of this node type.
Source§type SharingId = WitnessId
type SharingId = WitnessId
A type which uniquely identifies a node, for purposes of sharing
during iteration over the DAG.
Source§fn compute_sharing_id(_: Cmr, _: &WitnessData<J>) -> Option<WitnessId>
fn compute_sharing_id(_: Cmr, _: &WitnessData<J>) -> Option<WitnessId>
Yields the sharing ID for a given type, starting from its CMR and its cached data. Read more
Source§impl<J: Ord> Ord for Witness<J>
impl<J: Ord> Ord for Witness<J>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<J: PartialOrd> PartialOrd for Witness<J>
impl<J: PartialOrd> PartialOrd for Witness<J>
impl<J: Copy> Copy for Witness<J>
impl<J: Eq> Eq for Witness<J>
impl<J> StructuralPartialEq for Witness<J>
Auto Trait Implementations§
impl<J> Freeze for Witness<J>
impl<J> RefUnwindSafe for Witness<J>where
J: RefUnwindSafe,
impl<J> Send for Witness<J>where
J: Send,
impl<J> Sync for Witness<J>where
J: Sync,
impl<J> Unpin for Witness<J>where
J: Unpin,
impl<J> UnwindSafe for Witness<J>where
J: 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