pub enum InputRepr {
Coin,
Contract,
Message,
}
Variants
Coin
Contract
Message
Implementations
sourceimpl InputRepr
impl InputRepr
pub const fn utxo_id_offset(&self) -> Option<usize>
pub const fn owner_offset(&self) -> Option<usize>
pub const fn asset_id_offset(&self) -> Option<usize>
pub const fn data_offset(&self) -> Option<usize>
pub const fn coin_predicate_offset(&self) -> Option<usize>
pub const fn contract_balance_root_offset(&self) -> Option<usize>
pub const fn contract_state_root_offset(&self) -> Option<usize>
pub const fn contract_id_offset(&self) -> Option<usize>
pub const fn message_id_offset(&self) -> Option<usize>
pub const fn message_sender_offset(&self) -> Option<usize>
pub const fn message_recipient_offset(&self) -> Option<usize>
pub const fn tx_pointer_offset(&self) -> Option<usize>
pub const fn from_input(input: &Input) -> Self
Trait Implementations
impl Eq for InputRepr
impl StructuralEq for InputRepr
impl StructuralPartialEq for InputRepr
Auto Trait Implementations
impl RefUnwindSafe for InputRepr
impl Send for InputRepr
impl Sync for InputRepr
impl Unpin for InputRepr
impl UnwindSafe for InputRepr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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