Struct libinput_tablet_pad_mode_group
#[repr(C)]pub struct libinput_tablet_pad_mode_group { /* private fields */ }
Expand description
@ingroup tablet_pad_modes @struct libinput_tablet_pad_mode_group
A mode on a tablet pad is a virtual grouping of functionality, usually based on some visual feedback like LEDs on the pad. The set of buttons, rings and strips that share the same mode are a “mode group”. Whenever the mode changes, all buttons, rings and strips within this mode group are affected.
Most tablets only have a single mode group, some tablets provide multiple mode groups through independent banks of LEDs (e.g. the Wacom Cintiq 24HD). libinput guarantees that at least one mode group is always available.
This struct is refcounted, use libinput_tablet_pad_mode_group_ref() and libinput_tablet_pad_mode_group_unref().
@since 1.4
Trait Implementations§
Source§impl AsRaw<libinput_tablet_pad_mode_group> for TabletPadModeGroup
impl AsRaw<libinput_tablet_pad_mode_group> for TabletPadModeGroup
Source§fn as_raw(&self) -> *const libinput_tablet_pad_mode_group
fn as_raw(&self) -> *const libinput_tablet_pad_mode_group
Receive a raw pointer representing this type.
§impl Clone for libinput_tablet_pad_mode_group
impl Clone for libinput_tablet_pad_mode_group
§fn clone(&self) -> libinput_tablet_pad_mode_group
fn clone(&self) -> libinput_tablet_pad_mode_group
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 more§impl Debug for libinput_tablet_pad_mode_group
impl Debug for libinput_tablet_pad_mode_group
impl Copy for libinput_tablet_pad_mode_group
Auto Trait Implementations§
impl Freeze for libinput_tablet_pad_mode_group
impl RefUnwindSafe for libinput_tablet_pad_mode_group
impl Send for libinput_tablet_pad_mode_group
impl Sync for libinput_tablet_pad_mode_group
impl Unpin for libinput_tablet_pad_mode_group
impl UnwindSafe for libinput_tablet_pad_mode_group
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