Struct simplicity::node::Construct
source · pub struct Construct<J> { /* private fields */ }Trait Implementations§
source§impl<J: Jet> Marker for Construct<J>
impl<J: Jet> Marker for Construct<J>
§type CachedData = ConstructData<J>
type CachedData = ConstructData<J>
Precomputed data about the node, such as its type arrow or various Merkle roots.
§type Disconnect = Option<Arc<Node<Construct<J>>>>
type Disconnect = Option<Arc<Node<Construct<J>>>>
Type of disconnect data attached to DAGs of this node type.
§type SharingId = ConstructId
type SharingId = ConstructId
A type which uniquely identifies a node, for purposes of sharing
during iteration over the DAG.
source§fn compute_sharing_id(_: Cmr, _: &ConstructData<J>) -> Option<ConstructId>
fn compute_sharing_id(_: Cmr, _: &ConstructData<J>) -> Option<ConstructId>
Yields the sharing ID for a given type, starting from its CMR and its cached data. Read more
source§impl<J: Ord> Ord for Construct<J>
impl<J: Ord> Ord for Construct<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: PartialEq> PartialEq for Construct<J>
impl<J: PartialEq> PartialEq for Construct<J>
source§impl<J: PartialOrd> PartialOrd for Construct<J>
impl<J: PartialOrd> PartialOrd for Construct<J>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<J: Copy> Copy for Construct<J>
impl<J: Eq> Eq for Construct<J>
impl<J> StructuralPartialEq for Construct<J>
Auto Trait Implementations§
impl<J> RefUnwindSafe for Construct<J>where
J: RefUnwindSafe,
impl<J> Send for Construct<J>where
J: Send,
impl<J> Sync for Construct<J>where
J: Sync,
impl<J> Unpin for Construct<J>where
J: Unpin,
impl<J> UnwindSafe for Construct<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