Struct pc_keyboard::ScancodeSet1
source · pub struct ScancodeSet1;
Expand description
Contains the implementation of Scancode Set 1. See the OS dev wiki: https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_1
Trait Implementations
sourceimpl ScancodeSet for ScancodeSet1
impl ScancodeSet for ScancodeSet1
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 1
Auto Trait Implementations
impl RefUnwindSafe for ScancodeSet1
impl Send for ScancodeSet1
impl Sync for ScancodeSet1
impl Unpin for ScancodeSet1
impl UnwindSafe for ScancodeSet1
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