pub enum Keyboard {
None,
Hover,
Focus,
Exclusive,
}Expand description
How a component uses the keyboard.
Variants§
None
Never.
Hover
While the pointer is over it (Space to pan, the loupe).
Focus
While it has the focus.
Exclusive
Every key while it has the focus (a terminal).
Trait Implementations§
Source§impl Ord for Keyboard
impl Ord for Keyboard
Source§impl PartialOrd for Keyboard
impl PartialOrd for Keyboard
impl Copy for Keyboard
impl Eq for Keyboard
impl StructuralPartialEq for Keyboard
Auto Trait Implementations§
impl Freeze for Keyboard
impl RefUnwindSafe for Keyboard
impl Send for Keyboard
impl Sync for Keyboard
impl Unpin for Keyboard
impl UnsafeUnpin for Keyboard
impl UnwindSafe for Keyboard
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