[][src]Struct bitcoin_cash::Script

pub struct Script { /* fields omitted */ }

Implementations

impl Script[src]

pub fn new(ops: impl Into<Arc<[TaggedOp]>>) -> Self[src]

pub fn serialize(&self) -> Result<ByteArray>[src]

impl Script[src]

pub fn ops_arc(&self) -> &Arc<[TaggedOp]>[src]

pub fn to_script_code(&self, n_codesep: Option<usize>) -> Script[src]

pub fn to_script_code_first(&self) -> Script[src]

Trait Implementations

impl Clone for Script[src]

impl Debug for Script[src]

impl Default for Script[src]

impl<'de, 'a> Deserialize<'de> for Script[src]

impl Eq for Script[src]

impl<I: InputScript> From<TaggedScript<I>> for Script[src]

impl<'_, '_> Into<Script> for &'_ Address<'_>[src]

impl<'_> Into<Script> for Address<'_>[src]

impl Ops for Script[src]

impl PartialEq<Script> for Script[src]

impl Serialize for Script[src]

impl StructuralEq for Script[src]

impl StructuralPartialEq for Script[src]

Auto Trait Implementations

impl RefUnwindSafe for Script

impl Send for Script

impl Sync for Script

impl Unpin for Script

impl UnwindSafe for Script

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.