x11rb_protocol::protocol::xkb

Type Alias LockBehavior

Source
pub type LockBehavior = DefaultBehavior;

Aliased Type§

struct LockBehavior {
    pub type_: u8,
}

Fields§

§type_: u8

Trait Implementations

Source§

impl Clone for DefaultBehavior

Source§

fn clone(&self) -> DefaultBehavior

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 DefaultBehavior

Source§

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

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

impl Default for DefaultBehavior

Source§

fn default() -> DefaultBehavior

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

impl Serialize for DefaultBehavior

Source§

type Bytes = [u8; 2]

The value returned by serialize. Read more
Source§

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

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 DefaultBehavior

Source§

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

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

impl Copy for DefaultBehavior