Struct x11rb::protocol::xinput::KeyClass [−][src]
pub struct KeyClass {
pub type_: DeviceClassType,
pub len: u16,
pub sourceid: DeviceId,
pub keys: Vec<u32>,
}
Fields
type_: DeviceClassType
len: u16
sourceid: DeviceId
keys: Vec<u32>
Implementations
Get the value of the num_keys
field.
The num_keys
field is used as the length field of the keys
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyClass
impl UnwindSafe for KeyClass
Blanket Implementations
Mutably borrows from an owned value. Read more