pub struct LangCode(pub [u8; 3]);Expand description
ISO 639-2 language code or ISO 3166 country code — 3 raw bytes.
Tuple Fields§
§0: [u8; 3]Implementations§
Trait Implementations§
impl Copy for LangCode
Source§impl<'de> Deserialize<'de> for LangCode
Available on crate feature serde only.
impl<'de> Deserialize<'de> for LangCode
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LangCode
impl StructuralPartialEq for LangCode
Auto Trait Implementations§
impl Freeze for LangCode
impl RefUnwindSafe for LangCode
impl Send for LangCode
impl Sync for LangCode
impl Unpin for LangCode
impl UnsafeUnpin for LangCode
impl UnwindSafe for LangCode
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