Type Alias SALatchMods

pub type SALatchMods = SASetMods;

Aliased Type§

struct SALatchMods {
    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

§

impl Clone for SASetMods

§

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
§

impl Debug for SASetMods

§

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

Formats the value using the given formatter. Read more
§

impl Default for SASetMods

§

fn default() -> SASetMods

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

impl Serialize for SASetMods

§

type Bytes = [u8; 8]

The value returned by serialize. Read more
§

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

Serialize this value into X11 raw bytes.
§

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

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

impl TryParse for SASetMods

§

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

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

impl Copy for SASetMods