[][src]Struct ckb_standalone_types::packed::ScriptReader

pub struct ScriptReader<'r>(_);

Methods

impl<'r> ScriptReader<'r>[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) -> Byte32Reader<'r>[src]

pub fn hash_type(&self) -> ByteReader<'r>[src]

pub fn args(&self) -> BytesReader<'r>[src]

Trait Implementations

impl<'r> Clone for ScriptReader<'r>[src]

impl<'r> Copy for ScriptReader<'r>[src]

impl<'r> Debug for ScriptReader<'r>[src]

impl<'r> Display for ScriptReader<'r>[src]

impl<'r> LowerHex for ScriptReader<'r>[src]

impl<'r> Reader<'r> for ScriptReader<'r>[src]

type Entity = Script

Auto Trait Implementations

impl<'r> Send for ScriptReader<'r>

impl<'r> Sync for ScriptReader<'r>

impl<'r> Unpin for ScriptReader<'r>

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.