pub struct LanguageTags(SmallVec<[Tag; 3]>);Expand description
OpenType language-system tags for a BCP 47 language, in preference order.
At most three tags are stored inline.
Tuple Fields§
§0: SmallVec<[Tag; 3]>Implementations§
Trait Implementations§
Source§impl Clone for LanguageTags
impl Clone for LanguageTags
Source§fn clone(&self) -> LanguageTags
fn clone(&self) -> LanguageTags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LanguageTags
impl RefUnwindSafe for LanguageTags
impl Send for LanguageTags
impl Sync for LanguageTags
impl Unpin for LanguageTags
impl UnsafeUnpin for LanguageTags
impl UnwindSafe for LanguageTags
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