usb_device::descriptor::lang_id

Struct LangID

Source
pub struct LangID(/* private fields */);

Implementations§

Source§

impl LangID

Source

pub const AR: LangID

Source

pub const BG: LangID

Source

pub const CA: LangID

Source

pub const ZH_HANS: LangID

Source

pub const CS: LangID

Source

pub const DA: LangID

Source

pub const DE: LangID

Source

pub const EL: LangID

Source

pub const EN: LangID

Source

pub const ES: LangID

Source

pub const FI: LangID

Source

pub const FR: LangID

Source

pub const HE: LangID

Source

pub const HU: LangID

Source

pub const IS: LangID

Source

pub const IT: LangID

Source

pub const JA: LangID

Source

pub const KO: LangID

Source

pub const NL: LangID

Source

pub const NO: LangID

Source

pub const PL: LangID

Source

pub const PT: LangID

Source

pub const RM: LangID

Source

pub const RO: LangID

Source

pub const RU: LangID

Source

pub const HR: LangID

Source

pub const SK: LangID

Source

pub const SQ: LangID

Source

pub const SV: LangID

Source

pub const TH: LangID

Source

pub const TR: LangID

Source

pub const UR: LangID

Source

pub const ID: LangID

Source

pub const UK: LangID

Source

pub const BE: LangID

Source

pub const SL: LangID

Source

pub const ET: LangID

Source

pub const LV: LangID

Source

pub const LT: LangID

Source

pub const TG: LangID

Source

pub const FA: LangID

Source

pub const VI: LangID

Source

pub const HY: LangID

Source

pub const AZ: LangID

Source

pub const EU: LangID

Source

pub const HSB: LangID

Source

pub const MK: LangID

Source

pub const ST: LangID

Source

pub const TS: LangID

Source

pub const TN: LangID

Source

pub const VE: LangID

Source

pub const XH: LangID

Source

pub const ZU: LangID

Source

pub const AF: LangID

Source

pub const KA: LangID

Source

pub const FO: LangID

Source

pub const HI: LangID

Source

pub const MT: LangID

Source

pub const SE: LangID

Source

pub const GA: LangID

Source

pub const YI: LangID

Source

pub const MS: LangID

Source

pub const KK: LangID

Source

pub const KY: LangID

Source

pub const SW: LangID

Source

pub const TK: LangID

Source

pub const UZ: LangID

Source

pub const TT: LangID

Source

pub const BN: LangID

Source

pub const PA: LangID

Source

pub const GU: LangID

Source

pub const OR: LangID

Source

pub const TA: LangID

Source

pub const TE: LangID

Source

pub const KN: LangID

Source

pub const ML: LangID

Source

pub const AS: LangID

Source

pub const MR: LangID

Source

pub const SA: LangID

Source

pub const MN: LangID

Source

pub const BO: LangID

Source

pub const CY: LangID

Source

pub const KM: LangID

Source

pub const LO: LangID

Source

pub const MY: LangID

Source

pub const GL: LangID

Source

pub const KOK: LangID

Source

pub const MNI: LangID

Source

pub const SD: LangID

Source

pub const SYR: LangID

Source

pub const SI: LangID

Source

pub const CHR: LangID

Source

pub const IU: LangID

Source

pub const AM: LangID

Source

pub const TZM: LangID

Source

pub const KS: LangID

Source

pub const NE: LangID

Source

pub const FY: LangID

Source

pub const PS: LangID

Source

pub const FIL: LangID

Source

pub const DV: LangID

Source

pub const BIN: LangID

Source

pub const FF: LangID

Source

pub const HA: LangID

Source

pub const IBB: LangID

Source

pub const YO: LangID

Source

pub const QUZ: LangID

Source

pub const NSO: LangID

Source

pub const BA: LangID

Source

pub const LB: LangID

Source

pub const KL: LangID

Source

pub const IG: LangID

Source

pub const KR: LangID

Source

pub const OM: LangID

Source

pub const TI: LangID

Source

pub const GN: LangID

Source

pub const HAW: LangID

Source

pub const LA: LangID

Source

pub const SO: LangID

Source

pub const II: LangID

Source

pub const PAP: LangID

Source

pub const ARN: LangID

Source

pub const MOH: LangID

Source

pub const BR: LangID

Source

pub const UG: LangID

Source

pub const MI: LangID

Source

pub const OC: LangID

Source

pub const CO: LangID

Source

pub const GSW: LangID

Source

pub const SAH: LangID

Source

pub const QUT: LangID

Source

pub const RW: LangID

Source

pub const WO: LangID

Source

pub const PRS: LangID

Source

pub const GD: LangID

Source

pub const KU: LangID

Source

pub const QUC: LangID

Source

pub const AR_SA: LangID

Source

pub const BG_BG: LangID

Source

pub const CA_ES: LangID

Source

pub const ZH_TW: LangID

Source

pub const CS_CZ: LangID

Source

pub const DA_DK: LangID

Source

pub const DE_DE: LangID

Source

pub const EL_GR: LangID

Source

pub const EN_US: LangID

Source

pub const ES_ES_TRADNL: LangID

Source

pub const FI_FI: LangID

Source

pub const FR_FR: LangID

Source

pub const HE_IL: LangID

Source

pub const HU_HU: LangID

Source

pub const IS_IS: LangID

Source

pub const IT_IT: LangID

Source

pub const JA_JP: LangID

Source

pub const KO_KR: LangID

Source

pub const NL_NL: LangID

Source

pub const NB_NO: LangID

Source

pub const PL_PL: LangID

Source

pub const PT_BR: LangID

Source

pub const RM_CH: LangID

Source

pub const RO_RO: LangID

Source

pub const RU_RU: LangID

Source

pub const HR_HR: LangID

Source

pub const SK_SK: LangID

Source

pub const SQ_AL: LangID

Source

pub const SV_SE: LangID

Source

pub const TH_TH: LangID

Source

pub const TR_TR: LangID

Source

pub const UR_PK: LangID

Source

pub const ID_ID: LangID

Source

pub const UK_UA: LangID

Source

pub const BE_BY: LangID

Source

pub const SL_SI: LangID

Source

pub const ET_EE: LangID

Source

pub const LV_LV: LangID

Source

pub const LT_LT: LangID

Source

pub const TG_CYRL_TJ: LangID

Source

pub const FA_IR: LangID

Source

pub const VI_VN: LangID

Source

pub const HY_AM: LangID

Source

pub const AZ_LATN_AZ: LangID

Source

pub const EU_ES: LangID

Source

pub const HSB_DE: LangID

Source

pub const MK_MK: LangID

Source

pub const ST_ZA: LangID

Source

pub const TS_ZA: LangID

Source

pub const TN_ZA: LangID

Source

pub const VE_ZA: LangID

Source

pub const XH_ZA: LangID

Source

pub const ZU_ZA: LangID

Source

pub const AF_ZA: LangID

Source

pub const KA_GE: LangID

Source

pub const FO_FO: LangID

Source

pub const HI_IN: LangID

Source

pub const MT_MT: LangID

Source

pub const SE_NO: LangID

Source

pub const YI_001: LangID

Source

pub const MS_MY: LangID

Source

pub const KK_KZ: LangID

Source

pub const KY_KG: LangID

Source

pub const SW_KE: LangID

Source

pub const TK_TM: LangID

Source

pub const UZ_LATN_UZ: LangID

Source

pub const TT_RU: LangID

Source

pub const BN_IN: LangID

Source

pub const PA_IN: LangID

Source

pub const GU_IN: LangID

Source

pub const OR_IN: LangID

Source

pub const TA_IN: LangID

Source

pub const TE_IN: LangID

Source

pub const KN_IN: LangID

Source

pub const ML_IN: LangID

Source

pub const AS_IN: LangID

Source

pub const MR_IN: LangID

Source

pub const SA_IN: LangID

Source

pub const MN_MN: LangID

Source

pub const BO_CN: LangID

Source

pub const CY_GB: LangID

Source

pub const KM_KH: LangID

Source

pub const LO_LA: LangID

Source

pub const MY_MM: LangID

Source

pub const GL_ES: LangID

Source

pub const KOK_IN: LangID

Source

pub const MNI_IN: LangID

Source

pub const SD_DEVA_IN: LangID

Source

pub const SYR_SY: LangID

Source

pub const SI_LK: LangID

Source

pub const CHR_CHER_US: LangID

Source

pub const IU_CANS_CA: LangID

Source

pub const AM_ET: LangID

Source

pub const TZM_ARAB_MA: LangID

Source

pub const KS_ARAB: LangID

Source

pub const NE_NP: LangID

Source

pub const FY_NL: LangID

Source

pub const PS_AF: LangID

Source

pub const FIL_PH: LangID

Source

pub const DV_MV: LangID

Source

pub const BIN_NG: LangID

Source

pub const FF_NG__FF_LATN_NG: LangID

Source

pub const HA_LATN_NG: LangID

Source

pub const IBB_NG: LangID

Source

pub const YO_NG: LangID

Source

pub const QUZ_BO: LangID

Source

pub const NSO_ZA: LangID

Source

pub const BA_RU: LangID

Source

pub const LB_LU: LangID

Source

pub const KL_GL: LangID

Source

pub const IG_NG: LangID

Source

pub const KR_LATN_NG: LangID

Source

pub const OM_ET: LangID

Source

pub const TI_ET: LangID

Source

pub const GN_PY: LangID

Source

pub const HAW_US: LangID

Source

pub const LA_VA: LangID

Source

pub const SO_SO: LangID

Source

pub const II_CN: LangID

Source

pub const PAP_029: LangID

Source

pub const ARN_CL: LangID

Source

pub const MOH_CA: LangID

Source

pub const BR_FR: LangID

Source

pub const UG_CN: LangID

Source

pub const MI_NZ: LangID

Source

pub const OC_FR: LangID

Source

pub const CO_FR: LangID

Source

pub const GSW_FR: LangID

Source

pub const SAH_RU: LangID

Source

pub const QUT_GT: LangID

Source

pub const RW_RW: LangID

Source

pub const WO_SN: LangID

Source

pub const PRS_AF: LangID

Source

pub const PLT_MG: LangID

Source

pub const ZH_YUE_HK: LangID

Source

pub const TDD_TALE_CN: LangID

Source

pub const KHB_TALU_CN: LangID

Source

pub const GD_GB: LangID

Source

pub const KU_ARAB_IQ: LangID

Source

pub const QUC_CO: LangID

Source

pub const QPS_PLOC: LangID

Source

pub const QPS_PLOCA: LangID

Source

pub const AR_IQ: LangID

Source

pub const CA_ES_VALENCIA: LangID

Source

pub const ZH_CN: LangID

Source

pub const DE_CH: LangID

Source

pub const EN_GB: LangID

Source

pub const ES_MX: LangID

Source

pub const FR_BE: LangID

Source

pub const IT_CH: LangID

Source

pub const JA_PLOC_JP: LangID

Source

pub const NL_BE: LangID

Source

pub const NN_NO: LangID

Source

pub const PT_PT: LangID

Source

pub const RO_MD: LangID

Source

pub const RU_MD: LangID

Source

pub const SR_LATN_CS: LangID

Source

pub const SV_FI: LangID

Source

pub const UR_IN: LangID

Source

pub const AZ_CYRL_AZ: LangID

Source

pub const DSB_DE: LangID

Source

pub const TN_BW: LangID

Source

pub const SE_SE: LangID

Source

pub const GA_IE: LangID

Source

pub const MS_BN: LangID

Source

pub const KK_LATN_KZ: LangID

Source

pub const UZ_CYRL_UZ: LangID

Source

pub const BN_BD: LangID

Source

pub const PA_ARAB_PK: LangID

Source

pub const TA_LK: LangID

Source

pub const MN_MONG_CN: LangID

Source

pub const BO_BT: LangID

Source

pub const SD_ARAB_PK: LangID

Source

pub const IU_LATN_CA: LangID

Source

pub const TZM_LATN_DZ: LangID

Source

pub const KS_DEVA_IN: LangID

Source

pub const NE_IN: LangID

Source

pub const FF_LATN_SN: LangID

Source

pub const QUZ_EC: LangID

Source

pub const TI_ER: LangID

Source

pub const QPS_PLOCM: LangID

Source

pub const LOCALE_CUSTOM_USER_DEFAULT: LangID

Source

pub const AR_EG: LangID

Source

pub const ZH_HK: LangID

Source

pub const DE_AT: LangID

Source

pub const EN_AU: LangID

Source

pub const ES_ES: LangID

Source

pub const FR_CA: LangID

Source

pub const SR_CYRL_CS: LangID

Source

pub const SE_FI: LangID

Source

pub const MN_MONG_MN: LangID

Source

pub const DZ_BT: LangID

Source

pub const TMZ_MA: LangID

Source

pub const QUZ_PE: LangID

Source

pub const LOCALE_CUSTOM_UNSPECIFIED: LangID

Source

pub const AR_LY: LangID

Source

pub const ZH_SG: LangID

Source

pub const DE_LU: LangID

Source

pub const EN_CA: LangID

Source

pub const ES_GT: LangID

Source

pub const FR_CH: LangID

Source

pub const HR_BA: LangID

Source

pub const SMJ_NO: LangID

Source

pub const TZM_TFNG_MA: LangID

Source

pub const AR_DZ: LangID

Source

pub const ZH_MO: LangID

Source

pub const DE_LI: LangID

Source

pub const EN_NZ: LangID

Source

pub const ES_CR: LangID

Source

pub const FR_LU: LangID

Source

pub const BS_LATN_BA: LangID

Source

pub const SMJ_SE: LangID

Source

pub const AR_MA: LangID

Source

pub const EN_IE: LangID

Source

pub const ES_PA: LangID

Source

pub const FR_MC: LangID

Source

pub const SR_LATN_BA: LangID

Source

pub const SMA_NO: LangID

Source

pub const AR_TN: LangID

Source

pub const EN_ZA: LangID

Source

pub const ES_DO: LangID

Source

pub const FR_029: LangID

Source

pub const SR_CYRL_BA: LangID

Source

pub const SMA_SE: LangID

Source

pub const AR_OM: LangID

Source

pub const EN_JM: LangID

Source

pub const ES_VE: LangID

Source

pub const FR_RE: LangID

Source

pub const BS_CYRL_BA: LangID

Source

pub const SMS_FI: LangID

Source

pub const AR_YE: LangID

Source

pub const EN_029: LangID

Source

pub const ES_CO: LangID

Source

pub const FR_CD: LangID

Source

pub const SR_LATN_RS: LangID

Source

pub const SMN_FI: LangID

Source

pub const AR_SY: LangID

Source

pub const EN_BZ: LangID

Source

pub const ES_PE: LangID

Source

pub const FR_SN: LangID

Source

pub const SR_CYRL_RS: LangID

Source

pub const AR_JO: LangID

Source

pub const EN_TT: LangID

Source

pub const ES_AR: LangID

Source

pub const FR_CM: LangID

Source

pub const SR_LATN_ME: LangID

Source

pub const AR_LB: LangID

Source

pub const EN_ZW: LangID

Source

pub const ES_EC: LangID

Source

pub const FR_CI: LangID

Source

pub const SR_CYRL_ME: LangID

Source

pub const AR_KW: LangID

Source

pub const EN_PH: LangID

Source

pub const ES_CL: LangID

Source

pub const FR_ML: LangID

Source

pub const AR_AE: LangID

Source

pub const EN_ID: LangID

Source

pub const ES_UY: LangID

Source

pub const FR_MA: LangID

Source

pub const AR_BH: LangID

Source

pub const EN_HK: LangID

Source

pub const ES_PY: LangID

Source

pub const FR_HT: LangID

Source

pub const AR_QA: LangID

Source

pub const EN_IN: LangID

Source

pub const ES_BO: LangID

Source

pub const AR_PLOC_SA: LangID

Source

pub const EN_MY: LangID

Source

pub const ES_SV: LangID

Source

pub const AR_145: LangID

Source

pub const EN_SG: LangID

Source

pub const ES_HN: LangID

Source

pub const EN_AE: LangID

Source

pub const ES_NI: LangID

Source

pub const EN_BH: LangID

Source

pub const ES_PR: LangID

Source

pub const EN_EG: LangID

Source

pub const ES_US: LangID

Source

pub const EN_JO: LangID

Source

pub const ES_419: LangID

Source

pub const EN_KW: LangID

Source

pub const ES_CU: LangID

Source

pub const EN_TR: LangID

Source

pub const EN_YE: LangID

Source

pub const BS_CYRL: LangID

Source

pub const BS_LATN: LangID

Source

pub const SR_CYRL: LangID

Source

pub const SR_LATN: LangID

Source

pub const SMN: LangID

Source

pub const AZ_CYRL: LangID

Source

pub const SMS: LangID

Source

pub const ZH: LangID

Source

pub const NN: LangID

Source

pub const BS: LangID

Source

pub const AZ_LATN: LangID

Source

pub const SMA: LangID

Source

pub const KK_CYRL: LangID

Source

pub const UZ_CYRL: LangID

Source

pub const MN_CYRL: LangID

Source

pub const IU_CANS: LangID

Source

pub const TZM_TFNG: LangID

Source

pub const ZH_HANT: LangID

Source

pub const NB: LangID

Source

pub const SR: LangID

Source

pub const TG_CYRL: LangID

Source

pub const DSB: LangID

Source

pub const SMJ: LangID

Source

pub const KK_LATN: LangID

Source

pub const UZ_LATN: LangID

Source

pub const PA_ARAB: LangID

Source

pub const MN_MONG: LangID

Source

pub const SD_ARAB: LangID

Source

pub const CHR_CHER: LangID

Source

pub const IU_LATN: LangID

Source

pub const TZM_LATN: LangID

Source

pub const FF_LATN: LangID

Source

pub const HA_LATN: LangID

Source

pub const KU_ARAB: LangID

Source

pub const FR_015: LangID

Trait Implementations§

Source§

impl Clone for LangID

Source§

fn clone(&self) -> LangID

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LangID

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<LangID> for u16

Source§

fn from(lang_id: LangID) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for LangID

Source§

fn from(id: u16) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for LangID

Source§

fn eq(&self, other: &LangID) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for LangID

Source§

impl Eq for LangID

Source§

impl StructuralPartialEq for LangID

Auto Trait Implementations§

§

impl Freeze for LangID

§

impl RefUnwindSafe for LangID

§

impl Send for LangID

§

impl Sync for LangID

§

impl Unpin for LangID

§

impl UnwindSafe for LangID

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.