pub struct MerkleNodeVars {
    pub left: VarIndex,
    pub mid: VarIndex,
    pub right: VarIndex,
    pub is_left_child: VarIndex,
    pub is_mid_child: VarIndex,
    pub is_right_child: VarIndex,
}
Expand description

The allocated variables for a Merkle tree node.

Fields§

§left: VarIndex

The allocated variable for the left.

§mid: VarIndex

The allocated variable for the mid.

§right: VarIndex

The allocated variable for the right.

§is_left_child: VarIndex

Whether this node is the left child of its parent.

§is_mid_child: VarIndex

Whether this node is the mid child of its parent

§is_right_child: VarIndex

Whether this node is the right child of its parent.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.