[−][src]Struct miniscript::miniscript::satisfy::Satisfaction
A (dis)satisfaction of a Miniscript fragment
Fields
stack: Witness
The actual witness stack
has_sig: bool
Whether or not this (dis)satisfaction has a signature somewhere in it
Methods
impl Satisfaction
[src]
pub fn satisfy<Pk: MiniscriptKey + ToPublicKey, Sat: Satisfier<Pk>>(
term: &Terminal<Pk>,
stfr: &Sat
) -> Self
[src]
term: &Terminal<Pk>,
stfr: &Sat
) -> Self
Produce a satisfaction
Trait Implementations
impl Clone for Satisfaction
[src]
fn clone(&self) -> Satisfaction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Satisfaction
[src]
impl Eq for Satisfaction
[src]
impl PartialEq<Satisfaction> for Satisfaction
[src]
fn eq(&self, other: &Satisfaction) -> bool
[src]
fn ne(&self, other: &Satisfaction) -> bool
[src]
impl StructuralEq for Satisfaction
[src]
impl StructuralPartialEq for Satisfaction
[src]
Auto Trait Implementations
impl RefUnwindSafe for Satisfaction
impl Send for Satisfaction
impl Sync for Satisfaction
impl Unpin for Satisfaction
impl UnwindSafe for Satisfaction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,