pub struct LocaleMatch {
pub requested: String,
pub available: String,
pub fallback_index: usize,
}Expand description
A simple locale match result.
Fields§
§requested: String§available: String§fallback_index: usizeImplementations§
Trait Implementations§
Source§impl Clone for LocaleMatch
impl Clone for LocaleMatch
Source§fn clone(&self) -> LocaleMatch
fn clone(&self) -> LocaleMatch
Returns a duplicate 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 LocaleMatch
impl Debug for LocaleMatch
Source§impl PartialEq for LocaleMatch
impl PartialEq for LocaleMatch
impl Eq for LocaleMatch
impl StructuralPartialEq for LocaleMatch
Auto Trait Implementations§
impl Freeze for LocaleMatch
impl RefUnwindSafe for LocaleMatch
impl Send for LocaleMatch
impl Sync for LocaleMatch
impl Unpin for LocaleMatch
impl UnsafeUnpin for LocaleMatch
impl UnwindSafe for LocaleMatch
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