Enum ps2::HostToKeyboardCommand
source · pub enum HostToKeyboardCommand {
SetLEDStatus = 237,
ScancodeSet = 240,
IdentifyKeyboard = 242,
SetRepeatRateAndDelay = 243,
EnableScanning = 244,
DisableScanning = 245,
ResendByte = 254,
ResetAndStartSelfTest = 255,
}
Variants§
SetLEDStatus = 237
ScancodeSet = 240
IdentifyKeyboard = 242
SetRepeatRateAndDelay = 243
also called typematic
EnableScanning = 244
DisableScanning = 245
might also restore default parameters
ResendByte = 254
ResetAndStartSelfTest = 255
Trait Implementations§
source§impl Clone for HostToKeyboardCommand
impl Clone for HostToKeyboardCommand
source§fn clone(&self) -> HostToKeyboardCommand
fn clone(&self) -> HostToKeyboardCommand
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 moreAuto Trait Implementations§
impl RefUnwindSafe for HostToKeyboardCommand
impl Send for HostToKeyboardCommand
impl Sync for HostToKeyboardCommand
impl Unpin for HostToKeyboardCommand
impl UnwindSafe for HostToKeyboardCommand
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