Enum bitcoin::blockdata::script::Instruction [−][src]
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
Error(Error)An opcode we were unable to parse
Trait Implementations
impl<'a> Debug for Instruction<'a>[src]
impl<'a> Debug for Instruction<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PartialEq for Instruction<'a>[src]
impl<'a> PartialEq for Instruction<'a>fn eq(&self, other: &Instruction<'a>) -> bool[src]
fn eq(&self, other: &Instruction<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Instruction<'a>) -> bool[src]
fn ne(&self, other: &Instruction<'a>) -> boolThis method tests for !=.
impl<'a> Eq for Instruction<'a>[src]
impl<'a> Eq for Instruction<'a>impl<'a> Clone for Instruction<'a>[src]
impl<'a> Clone for Instruction<'a>fn clone(&self) -> Instruction<'a>[src]
fn clone(&self) -> Instruction<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<'a> Send for Instruction<'a>
impl<'a> Send for Instruction<'a>impl<'a> Sync for Instruction<'a>
impl<'a> Sync for Instruction<'a>