Enum HidCountryCode
#[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§
§impl Clone for HidCountryCode
impl Clone for HidCountryCode
§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 more§impl Debug for HidCountryCode
impl Debug for HidCountryCode
§impl Format for HidCountryCode
impl Format for HidCountryCode
§impl PartialEq for HidCountryCode
impl PartialEq for HidCountryCode
impl Copy for HidCountryCode
impl Eq for HidCountryCode
impl StructuralPartialEq for HidCountryCode
Auto Trait Implementations§
impl Freeze for HidCountryCode
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