[−][src]Struct lock_keys::LockKey
The lock ley object to hold the OS specific handle when it is required.
Trait Implementations
impl Debug for LockKey
[src]
impl Drop for LockKey
[src]
impl LockKeyWrapper for LockKey
[src]
fn new() -> Self
[src]
Creates a new lock key object using Xlib for handling.
fn set(&self, key: LockKeys, state: LockKeyState) -> LockKeyResult
[src]
Sets a new state for the lock key using Xlib.
fn enable(&self, key: LockKeys) -> LockKeyResult
[src]
Enables the lock key using Xlib.
fn disable(&self, key: LockKeys) -> LockKeyResult
[src]
Disables the lock key using Xlib.
fn toggle(&self, key: LockKeys) -> LockKeyResult
[src]
Toggles the lock key state returning its previous state using Xlib.
fn state(&self, key: LockKeys) -> LockKeyResult
[src]
Retrieves the lock key state using Xlib.
Auto Trait Implementations
impl RefUnwindSafe for LockKey
impl !Send for LockKey
impl !Sync for LockKey
impl Unpin for LockKey
impl UnwindSafe for LockKey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,