Enum logitech_lcd_sys::LcdButton
[−]
[src]
#[repr(u32)]pub enum LcdButton { MONO_BUTTON_0, MONO_BUTTON_1, MONO_BUTTON_2, MONO_BUTTON_3, COLOR_BUTTON_LEFT, COLOR_BUTTON_RIGHT, COLOR_BUTTON_OK, COLOR_BUTTON_CANCEL, COLOR_BUTTON_UP, COLOR_BUTTON_DOWN, COLOR_BUTTON_MENU, }
Bitflags for LCD Buttons, combine with BitFlags
Variants
MONO_BUTTON_0
MONO_BUTTON_1
MONO_BUTTON_2
MONO_BUTTON_3
COLOR_BUTTON_LEFT
COLOR_BUTTON_RIGHT
COLOR_BUTTON_OK
COLOR_BUTTON_CANCEL
COLOR_BUTTON_UP
COLOR_BUTTON_DOWN
COLOR_BUTTON_MENU
Methods
impl LcdButton
[src]
fn from_bitflag(bitflag: BitFlags<LcdButton>) -> Vec<LcdButton>
fn max_bitflag() -> BitFlags<LcdButton>
fn empty_bitflag() -> BitFlags<LcdButton>
impl LcdButton
[src]
Trait Implementations
impl Into<InnerLcdButton> for LcdButton
[src]
fn into(self) -> InnerLcdButton
Performs the conversion.
impl Into<u32> for LcdButton
[src]
impl BitOr for LcdButton
[src]
type Output = BitFlags<LcdButton>
The resulting type after applying the |
operator
fn bitor(self, other: Self) -> Self::Output
The method for the |
operator
impl BitAnd for LcdButton
[src]
type Output = BitFlags<LcdButton>
The resulting type after applying the &
operator
fn bitand(self, other: Self) -> Self::Output
The method for the &
operator
impl BitXor for LcdButton
[src]
type Output = BitFlags<LcdButton>
The resulting type after applying the ^
operator
fn bitxor(self, other: Self) -> Self::Output
The method for the ^
operator
impl Not for LcdButton
[src]
type Output = BitFlags<LcdButton>
The resulting type after applying the !
operator
fn not(self) -> Self::Output
The method for the unary !
operator
impl EnumFlagSize for LcdButton
[src]
type Size = InnerLcdButton
impl Copy for LcdButton
[src]
impl Clone for LcdButton
[src]
fn clone(&self) -> LcdButton
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more