pub enum InputRepr {
Coin,
Contract,
Message,
}
Variants§
Implementations§
source§impl 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_sender_offset(&self) -> Option<usize>
pub const fn message_recipient_offset(&self) -> Option<usize>
pub const fn message_nonce_offset(&self) -> Option<usize>
pub const fn tx_pointer_offset(&self) -> Option<usize>
pub const fn from_input(input: &Input) -> Self
Trait Implementations§
source§impl PartialEq<InputRepr> for InputRepr
impl PartialEq<InputRepr> for InputRepr
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more