pub struct SpendPath {
pub kind: SpendPathKind,
pub script: ScriptBuf,
pub control_block: ControlBlock,
}Fields§
§kind: SpendPathKind§script: ScriptBuf§control_block: ControlBlockImplementations§
Source§impl SpendPath
impl SpendPath
pub fn new( kind: SpendPathKind, script: ScriptBuf, control_block: ControlBlock, ) -> Self
pub fn select(self) -> SpendSelection
Trait Implementations§
impl Eq for SpendPath
impl StructuralPartialEq for SpendPath
Auto Trait Implementations§
impl Freeze for SpendPath
impl RefUnwindSafe for SpendPath
impl Send for SpendPath
impl Sync for SpendPath
impl Unpin for SpendPath
impl UnsafeUnpin for SpendPath
impl UnwindSafe for SpendPath
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