pub struct TaprootScriptTree {
pub root: Option<TapNodeHash>,
pub leaves: Vec<TaprootScriptLeaf>,
}Expand description
Taproot script tree
Fields§
§root: Option<TapNodeHash>Root of the script tree
leaves: Vec<TaprootScriptLeaf>Leaves in the tree
Trait Implementations§
Source§impl Clone for TaprootScriptTree
impl Clone for TaprootScriptTree
Source§fn clone(&self) -> TaprootScriptTree
fn clone(&self) -> TaprootScriptTree
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TaprootScriptTree
impl RefUnwindSafe for TaprootScriptTree
impl Send for TaprootScriptTree
impl Sync for TaprootScriptTree
impl Unpin for TaprootScriptTree
impl UnwindSafe for TaprootScriptTree
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