[][src]Struct sv::script::Script

pub struct Script(pub Vec<u8>);

Transaction script

Methods

impl Script
[src]

Creates a new empty script

Appends a single opcode or data byte

Appends a slice of data

Appends the opcodes and provided data that push it onto the stack

Appends the opcodes to push a number to the stack

The number must be in the range [2^-31+1,2^31-1].

Evaluates a script using the provided checker

Trait Implementations

impl Clone for Script
[src]

Performs copy-assignment from source. Read more

impl Eq for Script
[src]

impl Default for Script
[src]

impl PartialEq<Script> for Script
[src]

impl Debug for Script
[src]

impl Hash for Script
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Script

impl Sync for Script

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self