pub struct SetNames<'a> {Show 14 fields
pub device_spec: DeviceSpec,
pub virtual_mods: VMod,
pub first_type: u8,
pub n_types: u8,
pub first_kt_levelt: u8,
pub n_kt_levels: u8,
pub indicators: u32,
pub group_names: SetOfGroup,
pub n_radio_groups: u8,
pub first_key: Keycode,
pub n_keys: u8,
pub n_key_aliases: u8,
pub total_kt_level_names: u16,
pub values: &'a [SetNamesValues],
}
Expand description
The SetNames
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
device_spec: DeviceSpec
virtual_mods: VMod
first_type: u8
n_types: u8
first_kt_levelt: u8
n_kt_levels: u8
indicators: u32
group_names: SetOfGroup
n_radio_groups: u8
first_key: Keycode
n_keys: u8
n_key_aliases: u8
total_kt_level_names: u16
values: &'a [SetNamesValues]
Trait Implementations
sourceimpl<'a> RawRequest for SetNames<'a>
impl<'a> RawRequest for SetNames<'a>
sourcefn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
sourceimpl<'a> Request for SetNames<'a>
impl<'a> Request for SetNames<'a>
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl<'a> RequestWithoutReply for SetNames<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SetNames<'a>
impl<'a> Send for SetNames<'a>
impl<'a> Sync for SetNames<'a>
impl<'a> Unpin for SetNames<'a>
impl<'a> UnwindSafe for SetNames<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more