pub type NamedCommitNode<J> = Node<Named<Commit<J>>>;Aliased Type§
pub struct NamedCommitNode<J> { /* private fields */ }Implementations§
Source§impl<J: Jet> NamedCommitNode<J>
impl<J: Jet> NamedCommitNode<J>
pub fn from_node(root: &CommitNode<J>) -> Arc<Self>
Sourcepub fn arrow(&self) -> &FinalArrow
pub fn arrow(&self) -> &FinalArrow
Accessor for the node’s type arrow
Sourcepub fn to_commit_node(&self) -> Arc<CommitNode<J>> ⓘ
pub fn to_commit_node(&self) -> Arc<CommitNode<J>> ⓘ
Forget the names, yielding an ordinary CommitNode.
pub fn to_construct_node<'brand>( &self, inference_context: &Context<'brand>, witness: &HashMap<Arc<str>, Value>, disconnect: &HashMap<Arc<str>, Arc<NamedCommitNode<J>>>, ) -> Arc<ConstructNode<'brand, J>> ⓘ
Sourcepub fn encode<W: Write>(&self, w: &mut BitWriter<W>) -> Result<usize>
👎Deprecated since 0.5.0: use Self::encode_without_witness instead
pub fn encode<W: Write>(&self, w: &mut BitWriter<W>) -> Result<usize>
Encode a Simplicity expression to bits without any witness data
Sourcepub fn encode_to_vec(&self) -> Vec<u8> ⓘ
👎Deprecated since 0.5.0: use Self::to_vec_without_witness instead
pub fn encode_to_vec(&self) -> Vec<u8> ⓘ
Encode a Simplicity program to a vector of bytes, without any witness data.