Struct lock_keys::LockKey

source ·
pub struct LockKey { /* private fields */ }
Expand description

The lock ley object to hold the OS specific handle when it is required.

Trait Implementations§

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Creates a new lock key object using Xlib for handling.

Sets a new state for the lock key using Xlib.

Enables the lock key using Xlib.

Disables the lock key using Xlib.

Toggles the lock key state returning its previous state using Xlib.

Retrieves the lock key state using Xlib.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.