Enum msp430_asm::operand::OperandWidth
source · pub enum OperandWidth {
Byte,
Word,
}
Expand description
Specifies whether the operand (source or destination) will be used as a byte or a word.
The operand itself is always stored as a word for alignment reasons
Variants§
Trait Implementations§
source§impl Clone for OperandWidth
impl Clone for OperandWidth
source§fn clone(&self) -> OperandWidth
fn clone(&self) -> OperandWidth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OperandWidth
impl Debug for OperandWidth
source§impl From<u8> for OperandWidth
impl From<u8> for OperandWidth
source§impl PartialEq<OperandWidth> for OperandWidth
impl PartialEq<OperandWidth> for OperandWidth
source§fn eq(&self, other: &OperandWidth) -> bool
fn eq(&self, other: &OperandWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.