#[non_exhaustive]pub enum ControlMode {
Termux,
Keyboard,
Hybrid,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Termux
Control mode designed for termux.
Keyboard
Pure-keyboard controlling. Same as curseofwar.
Hybrid
Basic cursor controlling and full-featured keyboard control.
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
Returns a duplicate 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 Debug for ControlMode
impl Debug for ControlMode
Source§impl Default for ControlMode
impl Default for ControlMode
Source§fn default() -> ControlMode
fn default() -> ControlMode
Returns the “default value” for a type. Read more
Source§impl FromStr for ControlMode
impl FromStr for ControlMode
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
impl Copy for ControlMode
impl Eq for ControlMode
impl StructuralPartialEq for ControlMode
Auto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnwindSafe for ControlMode
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