Enum xcb::xkb::Action[][src]

pub enum Action {
Show 21 variants NoAction {}, SetMods { flags: u8, mask: u8, real_mods: u8, vmods_high: u8, vmods_low: u8, }, LatchMods { flags: u8, mask: u8, real_mods: u8, vmods_high: u8, vmods_low: u8, }, LockMods { flags: u8, mask: u8, real_mods: u8, vmods_high: u8, vmods_low: u8, }, SetGroup { flags: u8, group: i8, }, LatchGroup { flags: u8, group: i8, }, LockGroup { flags: u8, group: i8, }, MovePtr { flags: u8, x_high: i8, x_low: u8, y_high: i8, y_low: u8, }, PtrBtn { flags: u8, count: u8, button: u8, }, LockPtrBtn { flags: u8, button: u8, }, SetPtrDflt { flags: u8, affect: u8, value: i8, }, IsoLock { flags: u8, mask: u8, real_mods: u8, group: i8, affect: u8, vmods_high: u8, vmods_low: u8, }, Terminate {}, SwitchScreen { flags: u8, new_screen: i8, }, SetControls { bool_ctrls_high: u8, bool_ctrls_low: u8, }, LockControls { bool_ctrls_high: u8, bool_ctrls_low: u8, }, Message { flags: u8, message: [u8; 6], }, RedirectKey { newkey: Keycode, mask: u8, real_modifiers: u8, vmods_mask_high: u8, vmods_mask_low: u8, vmods_high: u8, vmods_low: u8, }, DeviceBtn { flags: u8, count: u8, button: u8, device: u8, }, LockDeviceBtn { flags: u8, button: u8, device: u8, }, DeviceValuator { device: u8, val1what: u8, val1index: u8, val1value: u8, val2what: u8, val2index: u8, val2value: u8, },
}

Variants

NoAction

Fields

SetMods

Fields

flags: u8
mask: u8
real_mods: u8
vmods_high: u8
vmods_low: u8

LatchMods

Fields

flags: u8
mask: u8
real_mods: u8
vmods_high: u8
vmods_low: u8

LockMods

Fields

flags: u8
mask: u8
real_mods: u8
vmods_high: u8
vmods_low: u8

SetGroup

Fields

flags: u8
group: i8

LatchGroup

Fields

flags: u8
group: i8

LockGroup

Fields

flags: u8
group: i8

MovePtr

Fields

flags: u8
x_high: i8
x_low: u8
y_high: i8
y_low: u8

PtrBtn

Fields

flags: u8
count: u8
button: u8

LockPtrBtn

Fields

flags: u8
button: u8

SetPtrDflt

Fields

flags: u8
affect: u8
value: i8

IsoLock

Fields

flags: u8
mask: u8
real_mods: u8
group: i8
affect: u8
vmods_high: u8
vmods_low: u8

Terminate

Fields

SwitchScreen

Fields

flags: u8
new_screen: i8

SetControls

Fields

bool_ctrls_high: u8
bool_ctrls_low: u8

LockControls

Fields

bool_ctrls_high: u8
bool_ctrls_low: u8

Message

Fields

flags: u8
message: [u8; 6]

RedirectKey

Fields

newkey: Keycode
mask: u8
real_modifiers: u8
vmods_mask_high: u8
vmods_mask_low: u8
vmods_high: u8
vmods_low: u8

DeviceBtn

Fields

flags: u8
count: u8
button: u8
device: u8

LockDeviceBtn

Fields

flags: u8
button: u8
device: u8

DeviceValuator

Fields

device: u8
val1what: u8
val1index: u8
val1value: u8
val2what: u8
val2index: u8
val2value: u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

type to external context necessary to compute the length

Compute the length of serialized data of an instance starting by ptr. Read more

Compute the length of wired serialized data of self

Serialize self over the X wire and returns how many bytes were written. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.