Struct tmcl::modules::generic::instructions::ROR
[−]
[src]
pub struct ROR { /* fields omitted */ }
ROR - Rotate Right
This instruction starts rotation in "right" direction, i.e. increasing the position counter.
Methods
impl ROR
[src]
Trait Implementations
impl Debug for ROR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ROR
[src]
fn eq(&self, __arg_0: &ROR) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ROR) -> bool
[src]
This method tests for !=
.
impl Instruction for ROR
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 1
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