Struct bitcoin_scripts::SigScript
source · [−]pub struct SigScript(_);
Expand description
A content of scriptSig
from a transaction input
Trait Implementations
sourceimpl BorrowMut<<SigScript as Wrapper>::Inner> for SigScript
impl BorrowMut<<SigScript as Wrapper>::Inner> for SigScript
sourcefn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Mutably borrows from an owned value. Read more
sourceimpl From<RedeemScript> for SigScript
impl From<RedeemScript> for SigScript
sourcefn from(redeem_script: RedeemScript) -> Self
fn from(redeem_script: RedeemScript) -> Self
Converts to this type from the input type.
sourceimpl Ord for SigScript
impl Ord for SigScript
sourceimpl PartialOrd<SigScript> for SigScript
impl PartialOrd<SigScript> for SigScript
sourcefn partial_cmp(&self, other: &SigScript) -> Option<Ordering>
fn partial_cmp(&self, other: &SigScript) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Wrapper for SigScript
impl Wrapper for SigScript
sourcefn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
sourcefn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
sourcefn as_inner_mut(&mut self) -> &mut Self::Inner
fn as_inner_mut(&mut self) -> &mut Self::Inner
Returns a mutable reference to the inner representation for the wrapper type Read more
sourcefn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
impl Eq for SigScript
impl StructuralEq for SigScript
impl StructuralPartialEq for SigScript
Auto Trait Implementations
impl RefUnwindSafe for SigScript
impl Send for SigScript
impl Sync for SigScript
impl Unpin for SigScript
impl UnwindSafe for SigScript
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more