Struct tmcl::modules::generic::instructions::ROL
[−]
[src]
pub struct ROL { /* fields omitted */ }
ROL - Rotate Left
This instruction starts rotation in "left" direction, i.e. decreasing the position counter.
Methods
impl ROL
[src]
Trait Implementations
impl Debug for ROL
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ROL
[src]
fn eq(&self, __arg_0: &ROL) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ROL) -> bool
[src]
This method tests for !=
.
impl Instruction for ROL
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 2
The command number (sometimes referred to as the instruction number).
fn operand(&self) -> [u8; 4]
[src]
Return the operand serialized. Read more
fn type_number(&self) -> u8
[src]
fn motor_bank_number(&self) -> u8
[src]
The motor/bank number