Enum usbd_hid::hid_class::HidCountryCode
source · #[repr(u8)]pub enum HidCountryCode {
Show 36 variants
NotSupported = 0,
Arabic = 1,
Belgian = 2,
CanadianBilingual = 3,
CanadianFrench = 4,
CzechRepublic = 5,
Danish = 6,
Finnish = 7,
French = 8,
German = 9,
Greek = 10,
Hebrew = 11,
Hungary = 12,
InternationalISO = 13,
Italian = 14,
JapanKatakana = 15,
Korean = 16,
LatinAmerica = 17,
NetherlandsDutch = 18,
Norwegian = 19,
PersianFarsi = 20,
Poland = 21,
Portuguese = 22,
Russia = 23,
Slovakia = 24,
Spanish = 25,
Swedish = 26,
SwissFrench = 27,
SwissGerman = 28,
Switzerland = 29,
Taiwan = 30,
TurkishQ = 31,
UK = 32,
US = 33,
Yugoslavia = 34,
TurkishF = 35,
}
Expand description
List of official USB HID country codes See (6.2.1): https://www.usb.org/sites/default/files/hid1_11.pdf
Variants§
NotSupported = 0
Arabic = 1
Belgian = 2
CanadianBilingual = 3
CanadianFrench = 4
CzechRepublic = 5
Danish = 6
Finnish = 7
French = 8
German = 9
Greek = 10
Hebrew = 11
Hungary = 12
InternationalISO = 13
Italian = 14
JapanKatakana = 15
Korean = 16
LatinAmerica = 17
NetherlandsDutch = 18
Norwegian = 19
PersianFarsi = 20
Poland = 21
Portuguese = 22
Russia = 23
Slovakia = 24
Spanish = 25
Swedish = 26
SwissFrench = 27
SwissGerman = 28
Switzerland = 29
Taiwan = 30
TurkishQ = 31
UK = 32
US = 33
Yugoslavia = 34
TurkishF = 35
Trait Implementations§
source§impl Clone for HidCountryCode
impl Clone for HidCountryCode
source§fn clone(&self) -> HidCountryCode
fn clone(&self) -> HidCountryCode
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 HidCountryCode
impl Debug for HidCountryCode
source§impl PartialEq for HidCountryCode
impl PartialEq for HidCountryCode
source§fn eq(&self, other: &HidCountryCode) -> bool
fn eq(&self, other: &HidCountryCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HidCountryCode
impl Eq for HidCountryCode
impl StructuralEq for HidCountryCode
impl StructuralPartialEq for HidCountryCode
Auto Trait Implementations§
impl RefUnwindSafe for HidCountryCode
impl Send for HidCountryCode
impl Sync for HidCountryCode
impl Unpin for HidCountryCode
impl UnwindSafe for HidCountryCode
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