Enum gtk_layer_shell::KeyboardMode
source · [−]#[non_exhaustive]
pub enum KeyboardMode {
None,
Exclusive,
OnDemand,
EntryNumber,
// some variants omitted
}
Expand description
GTK_LAYER_SHELL_KEYBOARD_MODE_NONE: This window should not receive keyboard events. GTK_LAYER_SHELL_KEYBOARD_MODE_EXCLUSIVE: This window should have exclusive focus if it is on the top or overlay layer. GTK_LAYER_SHELL_KEYBOARD_MODE_ON_DEMAND: The user should be able to focus and unfocues this window in an implementation defined way. Not supported for protocol version < 4. GTK_LAYER_SHELL_KEYBOARD_MODE_ENTRY_NUMBER: Should not be used except to get the number of entries. (NOTE: may change in future releases as more entries are added)
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
None
Exclusive
OnDemand
EntryNumber
Trait Implementations
sourceimpl Clone for KeyboardMode
impl Clone for KeyboardMode
sourcefn clone(&self) -> KeyboardMode
fn clone(&self) -> KeyboardMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyboardMode
impl Debug for KeyboardMode
sourceimpl Display for KeyboardMode
impl Display for KeyboardMode
sourceimpl Hash for KeyboardMode
impl Hash for KeyboardMode
sourceimpl Ord for KeyboardMode
impl Ord for KeyboardMode
sourceimpl PartialEq<KeyboardMode> for KeyboardMode
impl PartialEq<KeyboardMode> for KeyboardMode
sourcefn eq(&self, other: &KeyboardMode) -> bool
fn eq(&self, other: &KeyboardMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KeyboardMode) -> bool
fn ne(&self, other: &KeyboardMode) -> bool
This method tests for !=
.
sourceimpl PartialOrd<KeyboardMode> for KeyboardMode
impl PartialOrd<KeyboardMode> for KeyboardMode
sourcefn partial_cmp(&self, other: &KeyboardMode) -> Option<Ordering>
fn partial_cmp(&self, other: &KeyboardMode) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for KeyboardMode
impl Eq for KeyboardMode
impl StructuralEq for KeyboardMode
impl StructuralPartialEq for KeyboardMode
Auto Trait Implementations
impl RefUnwindSafe for KeyboardMode
impl Send for KeyboardMode
impl Sync for KeyboardMode
impl Unpin for KeyboardMode
impl UnwindSafe for KeyboardMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more