xcb::xkb

Struct DeviceLedInfo

Source
pub struct DeviceLedInfo { /* private fields */ }

Implementations§

Source§

impl DeviceLedInfo

Source

pub fn led_class(&self) -> LedClass

Source

pub fn led_id(&self) -> IdSpec

Source

pub fn phys_indicators(&self) -> u32

Source

pub fn state(&self) -> u32

Source

pub fn names(&self) -> &[Atom]

Source

pub fn maps(&self) -> &[IndicatorMap]

Trait Implementations§

Source§

impl Borrow<DeviceLedInfo> for DeviceLedInfoBuf

Source§

fn borrow(&self) -> &DeviceLedInfo

Immutably borrows from an owned value. Read more
Source§

impl Debug for DeviceLedInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ToOwned for DeviceLedInfo

Source§

type Owned = DeviceLedInfoBuf

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more