Struct pc_keyboard::ScancodeSet2
source · pub struct ScancodeSet2;
Expand description
Contains the implementation of Scancode Set 2. See the OS dev wiki: https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_2
Trait Implementations
sourceimpl ScancodeSet for ScancodeSet2
impl ScancodeSet for ScancodeSet2
sourcefn advance_state(state: DecodeState, code: u8) -> Result<ConsumeState, Error>
fn advance_state(state: DecodeState, code: u8) -> Result<ConsumeState, Error>
Implements state logic for scancode set 2
Auto Trait Implementations
impl RefUnwindSafe for ScancodeSet2
impl Send for ScancodeSet2
impl Sync for ScancodeSet2
impl Unpin for ScancodeSet2
impl UnwindSafe for ScancodeSet2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more