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§
impl Copy for LayerSurfaceKeyboardInteractivity
Source§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
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 UnsafeUnpin 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