pub struct ChainId;Expand description
Get the chain ID.
Trait Implementations§
Source§impl Instruction for ChainId
impl Instruction for ChainId
Source§fn is_push(&self) -> bool
fn is_push(&self) -> bool
Returns a value signifying whether this instruction is of the type
PUSHx. Read moreSource§fn is_dup(&self) -> bool
fn is_dup(&self) -> bool
Returns a value signifying whether this instruction is of the type
DUPx. Read moreSource§fn is_swap(&self) -> bool
fn is_swap(&self) -> bool
Returns a value signifying whether this instruction is of the type
SWAPx. Read moreimpl Copy for ChainId
impl Eq for ChainId
impl StructuralPartialEq for ChainId
Auto Trait Implementations§
impl Freeze for ChainId
impl RefUnwindSafe for ChainId
impl Send for ChainId
impl Sync for ChainId
impl Unpin for ChainId
impl UnwindSafe for ChainId
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