[][src]Struct ckb_standalone_types::packed::Script

pub struct Script(_);

Methods

impl Script[src]

pub const FIELD_COUNT: usize[src]

pub fn total_size(&self) -> usize[src]

pub fn field_count(&self) -> usize[src]

pub fn count_extra_fields(&self) -> usize[src]

pub fn has_extra_fields(&self) -> bool[src]

pub fn code_hash(&self) -> Byte32[src]

pub fn hash_type(&self) -> Byte[src]

pub fn args(&self) -> Bytes[src]

pub fn as_reader<'r>(&'r self) -> ScriptReader<'r>[src]

Trait Implementations

impl Clone for Script[src]

impl Debug for Script[src]

impl Default for Script[src]

impl Display for Script[src]

impl Entity for Script[src]

type Builder = ScriptBuilder

impl LowerHex for Script[src]

Auto Trait Implementations

impl Send for Script

impl Sync for Script

impl Unpin 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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.