Struct bitcoin_scripts::ScriptCode
source · [−]pub struct ScriptCode(_);
Expand description
A representation of scriptPubkey
data used during SegWit signing procedure
Trait Implementations
sourceimpl AsMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl AsMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
sourceimpl AsRef<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl AsRef<<ScriptCode as Wrapper>::Inner> for ScriptCode
sourceimpl Borrow<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl Borrow<<ScriptCode as Wrapper>::Inner> for ScriptCode
sourceimpl BorrowMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl BorrowMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
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 Clone for ScriptCode
impl Clone for ScriptCode
sourcefn clone(&self) -> ScriptCode
fn clone(&self) -> ScriptCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScriptCode
impl Debug for ScriptCode
sourceimpl Default for ScriptCode
impl Default for ScriptCode
sourcefn default() -> ScriptCode
fn default() -> ScriptCode
Returns the “default value” for a type. Read more
sourceimpl Deref for ScriptCode
impl Deref for ScriptCode
sourceimpl DerefMut for ScriptCode
impl DerefMut for ScriptCode
sourceimpl Display for ScriptCode
impl Display for ScriptCode
sourceimpl From<Script> for ScriptCode
impl From<Script> for ScriptCode
sourceimpl From<ScriptCode> for Script
impl From<ScriptCode> for Script
sourcefn from(wrapped: ScriptCode) -> Self
fn from(wrapped: ScriptCode) -> Self
Converts to this type from the input type.
sourceimpl Hash for ScriptCode
impl Hash for ScriptCode
sourceimpl LowerHex for ScriptCode
impl LowerHex for ScriptCode
sourceimpl Ord for ScriptCode
impl Ord for ScriptCode
sourceimpl PartialEq<ScriptCode> for ScriptCode
impl PartialEq<ScriptCode> for ScriptCode
sourcefn eq(&self, other: &ScriptCode) -> bool
fn eq(&self, other: &ScriptCode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScriptCode) -> bool
fn ne(&self, other: &ScriptCode) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ScriptCode> for ScriptCode
impl PartialOrd<ScriptCode> for ScriptCode
sourcefn partial_cmp(&self, other: &ScriptCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ScriptCode) -> 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 UpperHex for ScriptCode
impl UpperHex for ScriptCode
sourceimpl Wrapper for ScriptCode
impl Wrapper for ScriptCode
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 ScriptCode
impl StructuralEq for ScriptCode
impl StructuralPartialEq for ScriptCode
Auto Trait Implementations
impl RefUnwindSafe for ScriptCode
impl Send for ScriptCode
impl Sync for ScriptCode
impl Unpin for ScriptCode
impl UnwindSafe for ScriptCode
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
impl<T> ToHex for T where
T: LowerHex,
impl<T> ToHex for T where
T: LowerHex,
impl<T> ToHex for T where
T: LowerHex,
impl<T> ToHex for T where
T: LowerHex,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more