Type Alias PermamentLockBehavior

pub type PermamentLockBehavior = DefaultBehavior;

Aliased Type§

struct PermamentLockBehavior {
    pub type_: u8,
}

Fields§

§type_: u8

Trait Implementations

§

impl Clone for DefaultBehavior

§

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
§

impl Debug for DefaultBehavior

§

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

Formats the value using the given formatter. Read more
§

impl Default for DefaultBehavior

§

fn default() -> DefaultBehavior

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

impl Serialize for DefaultBehavior

§

type Bytes = [u8; 2]

The value returned by serialize. Read more
§

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

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 DefaultBehavior

§

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

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

impl Copy for DefaultBehavior