Enum bitcoin::blockdata::script::Instruction
source · Expand description
A “parsed opcode” which allows iterating over a Script
in a more sensible way.
Variants
PushBytes(&'a [u8])
Push a bunch of data.
Op(All)
Some non-push opcode.
Trait Implementations
sourceimpl<'a> Clone for Instruction<'a>
impl<'a> Clone for Instruction<'a>
sourcefn clone(&self) -> Instruction<'a>
fn clone(&self) -> Instruction<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for Instruction<'a>
impl<'a> Debug for Instruction<'a>
sourceimpl<'a> PartialEq<Instruction<'a>> for Instruction<'a>
impl<'a> PartialEq<Instruction<'a>> for Instruction<'a>
sourcefn eq(&self, other: &Instruction<'a>) -> bool
fn eq(&self, other: &Instruction<'a>) -> bool
impl<'a> Eq for Instruction<'a>
impl<'a> StructuralEq for Instruction<'a>
impl<'a> StructuralPartialEq for Instruction<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Instruction<'a>
impl<'a> Send for Instruction<'a>
impl<'a> Sync for Instruction<'a>
impl<'a> Unpin for Instruction<'a>
impl<'a> UnwindSafe for Instruction<'a>
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