pub enum LayerSurfaceKeyboardInteractivity {
None,
Exclusive,
OnDemand,
}
Expand description
Keyboard interactivity modes for a layer-shell surface.
Variants§
None
Surface cannot receive keyboard focus.
Exclusive
Surface receives keyboard focus whenever possible.
OnDemand
Surface receives keyboard focus on demand, e.g. when clicked.
Trait Implementations§
source§impl Clone for LayerSurfaceKeyboardInteractivity
impl Clone for LayerSurfaceKeyboardInteractivity
source§fn clone(&self) -> LayerSurfaceKeyboardInteractivity
fn clone(&self) -> LayerSurfaceKeyboardInteractivity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for LayerSurfaceKeyboardInteractivity
impl<'de> Deserialize<'de> for LayerSurfaceKeyboardInteractivity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LayerSurfaceKeyboardInteractivity
impl PartialEq for LayerSurfaceKeyboardInteractivity
source§fn eq(&self, other: &LayerSurfaceKeyboardInteractivity) -> bool
fn eq(&self, other: &LayerSurfaceKeyboardInteractivity) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for LayerSurfaceKeyboardInteractivity
impl Eq for LayerSurfaceKeyboardInteractivity
impl StructuralPartialEq for LayerSurfaceKeyboardInteractivity
Auto Trait Implementations§
impl Freeze for LayerSurfaceKeyboardInteractivity
impl RefUnwindSafe for LayerSurfaceKeyboardInteractivity
impl Send for LayerSurfaceKeyboardInteractivity
impl Sync for LayerSurfaceKeyboardInteractivity
impl Unpin for LayerSurfaceKeyboardInteractivity
impl UnwindSafe for LayerSurfaceKeyboardInteractivity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)