x11rb::protocol::xkb

Type Alias SALockMods

Source
pub type SALockMods = SASetMods;

Aliased Type§

struct SALockMods {
    pub type_: SAType,
    pub flags: SA,
    pub mask: ModMask,
    pub real_mods: ModMask,
    pub vmods_high: VModsHigh,
    pub vmods_low: VModsLow,
}

Fields§

§type_: SAType§flags: SA§mask: ModMask§real_mods: ModMask§vmods_high: VModsHigh§vmods_low: VModsLow

Trait Implementations

Source§

impl Clone for SASetMods

Source§

fn clone(&self) -> SASetMods

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SASetMods

Source§

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

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

impl Default for SASetMods

Source§

fn default() -> SASetMods

Returns the “default value” for a type. Read more
Source§

impl Serialize for SASetMods

Source§

type Bytes = [u8; 8]

The value returned by serialize. Read more
Source§

fn serialize(&self) -> [u8; 8]

Serialize this value into X11 raw bytes.
Source§

fn serialize_into(&self, bytes: &mut Vec<u8>)

Serialize this value into X11 raw bytes, appending the result into bytes. Read more
Source§

impl TryParse for SASetMods

Source§

fn try_parse(remaining: &[u8]) -> Result<(SASetMods, &[u8]), ParseError>

Try to parse the given values into an instance of this type. Read more
Source§

impl Copy for SASetMods