Struct lde::OpCode
[−]
[src]
pub struct OpCode(_);
Byte slice representing an opcode.
Methods
impl OpCode
[src]
fn new(bytes: &[u8]) -> &OpCode
fn read<T: Int>(&self, offset: usize) -> T
Helps reading immediates and displacements.
Trait Implementations
impl Eq for OpCode
[src]
impl PartialEq for OpCode
[src]
fn eq(&self, __arg_0: &OpCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OpCode) -> bool
This method tests for !=
.
impl Hash for OpCode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> From<&'a [u8]> for &'a OpCode
[src]
impl Deref for OpCode
[src]
type Target = [u8]
The resulting type after dereferencing
fn deref(&self) -> &[u8]
The method called to dereference a value
impl PartialEq<[u8]> for OpCode
[src]
fn eq(&self, other: &[u8]) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.