Enum ps2::ScancodeSet
source · #[repr(u8)]pub enum ScancodeSet {
Get = 0,
Set1 = 1,
Set2 = 2,
Set3 = 3,
}
Variants§
Trait Implementations§
source§impl Clone for ScancodeSet
impl Clone for ScancodeSet
source§fn clone(&self) -> ScancodeSet
fn clone(&self) -> ScancodeSet
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 moresource§impl Debug for ScancodeSet
impl Debug for ScancodeSet
source§impl PartialEq<ScancodeSet> for ScancodeSet
impl PartialEq<ScancodeSet> for ScancodeSet
source§fn eq(&self, other: &ScancodeSet) -> bool
fn eq(&self, other: &ScancodeSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for ScancodeSet
impl TryFrom<u8> for ScancodeSet
source§impl TryFromPrimitive for ScancodeSet
impl TryFromPrimitive for ScancodeSet
impl Copy for ScancodeSet
impl StructuralPartialEq for ScancodeSet
Auto Trait Implementations§
impl RefUnwindSafe for ScancodeSet
impl Send for ScancodeSet
impl Sync for ScancodeSet
impl Unpin for ScancodeSet
impl UnwindSafe for ScancodeSet
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