Struct xcb::xkb::DeviceLedInfoBuf
source · pub struct DeviceLedInfoBuf { /* private fields */ }
Implementations§
source§impl DeviceLedInfoBuf
impl DeviceLedInfoBuf
sourcepub fn new(
led_class: LedClass,
led_id: IdSpec,
names_present: u32,
maps_present: u32,
phys_indicators: u32,
state: u32,
names: &[Atom],
maps: &[IndicatorMap],
) -> DeviceLedInfoBuf
pub fn new( led_class: LedClass, led_id: IdSpec, names_present: u32, maps_present: u32, phys_indicators: u32, state: u32, names: &[Atom], maps: &[IndicatorMap], ) -> DeviceLedInfoBuf
Construct a new DeviceLedInfoBuf.
Methods from Deref<Target = DeviceLedInfo>§
pub fn led_class(&self) -> LedClass
pub fn led_id(&self) -> IdSpec
pub fn phys_indicators(&self) -> u32
pub fn state(&self) -> u32
pub fn names(&self) -> &[Atom]
pub fn maps(&self) -> &[IndicatorMap]
Trait Implementations§
source§impl Borrow<DeviceLedInfo> for DeviceLedInfoBuf
impl Borrow<DeviceLedInfo> for DeviceLedInfoBuf
source§fn borrow(&self) -> &DeviceLedInfo
fn borrow(&self) -> &DeviceLedInfo
Immutably borrows from an owned value. Read more
source§impl Clone for DeviceLedInfoBuf
impl Clone for DeviceLedInfoBuf
source§fn clone(&self) -> DeviceLedInfoBuf
fn clone(&self) -> DeviceLedInfoBuf
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 DeviceLedInfoBuf
impl Debug for DeviceLedInfoBuf
Auto Trait Implementations§
impl Freeze for DeviceLedInfoBuf
impl RefUnwindSafe for DeviceLedInfoBuf
impl Send for DeviceLedInfoBuf
impl Sync for DeviceLedInfoBuf
impl Unpin for DeviceLedInfoBuf
impl UnwindSafe for DeviceLedInfoBuf
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)