pub enum Opcode {
OP_DUP = 118,
OP_HASH160 = 169,
OP_CHECKSIG = 172,
OP_EQUAL = 135,
OP_EQUALVERIFY = 136,
OP_RETURN = 106,
OP_PUSHBYTES_20 = 20,
}Expand description
Represents the commonly used script opcodes
Variants§
OP_DUP = 118
OP_HASH160 = 169
OP_CHECKSIG = 172
OP_EQUAL = 135
OP_EQUALVERIFY = 136
OP_RETURN = 106
OP_PUSHBYTES_20 = 20
Trait Implementations§
Source§impl Ord for Opcode
impl Ord for Opcode
Source§impl PartialOrd for Opcode
impl PartialOrd for Opcode
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)