pub struct ButtonMatrixControl(pub u32);Expand description
Bit-flags controlling individual button appearance and behavior.
Construct by OR-ing the associated constants:
ⓘ
let ctrl = ButtonMatrixControl::CHECKABLE | ButtonMatrixControl::CHECKED;Tuple Fields§
§0: u32Implementations§
Source§impl ButtonMatrixControl
impl ButtonMatrixControl
Sourcepub const CLICK_TRIGGER: Self
pub const CLICK_TRIGGER: Self
Activate on pointer-down instead of pointer-up.
Trait Implementations§
Source§impl BitOr for ButtonMatrixControl
impl BitOr for ButtonMatrixControl
Source§impl BitOrAssign for ButtonMatrixControl
impl BitOrAssign for ButtonMatrixControl
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for ButtonMatrixControl
impl Clone for ButtonMatrixControl
Source§fn clone(&self) -> ButtonMatrixControl
fn clone(&self) -> ButtonMatrixControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ButtonMatrixControl
Source§impl Debug for ButtonMatrixControl
impl Debug for ButtonMatrixControl
Source§impl Default for ButtonMatrixControl
impl Default for ButtonMatrixControl
Source§fn default() -> ButtonMatrixControl
fn default() -> ButtonMatrixControl
Returns the “default value” for a type. Read more
impl Eq for ButtonMatrixControl
Source§impl PartialEq for ButtonMatrixControl
impl PartialEq for ButtonMatrixControl
impl StructuralPartialEq for ButtonMatrixControl
Auto Trait Implementations§
impl Freeze for ButtonMatrixControl
impl RefUnwindSafe for ButtonMatrixControl
impl Send for ButtonMatrixControl
impl Sync for ButtonMatrixControl
impl Unpin for ButtonMatrixControl
impl UnsafeUnpin for ButtonMatrixControl
impl UnwindSafe for ButtonMatrixControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more