#[repr(u32)]pub enum KeyboardInteractivity {
None = 0,
Exclusive = 1,
OnDemand = 2,
}Expand description
Keyboard interactivity mode for layer surfaces.
Variants§
None = 0
Surface does not receive keyboard events
Exclusive = 1
Surface grabs keyboard focus exclusively (e.g., screen lock)
OnDemand = 2
Surface receives keyboard focus on demand (e.g., when clicked)
Implementations§
Trait Implementations§
Source§impl Clone for KeyboardInteractivity
impl Clone for KeyboardInteractivity
Source§fn clone(&self) -> KeyboardInteractivity
fn clone(&self) -> KeyboardInteractivity
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyboardInteractivity
impl Debug for KeyboardInteractivity
Source§impl PartialEq for KeyboardInteractivity
impl PartialEq for KeyboardInteractivity
impl Copy for KeyboardInteractivity
impl Eq for KeyboardInteractivity
impl StructuralPartialEq for KeyboardInteractivity
Auto Trait Implementations§
impl Freeze for KeyboardInteractivity
impl RefUnwindSafe for KeyboardInteractivity
impl Send for KeyboardInteractivity
impl Sync for KeyboardInteractivity
impl Unpin for KeyboardInteractivity
impl UnwindSafe for KeyboardInteractivity
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)