pub struct LocaleCoverage {
pub locale: Locale,
pub mapped: usize,
pub total: usize,
}Expand description
Per-locale mapping coverage: how many canonical entries (builtins, localized preset identities, and enum members) carry a mapping for the locale out of the declared total.
Fields§
§locale: Locale§mapped: usizeCanonical entries with a declared mapping in this locale.
total: usizeCanonical entries (builtins and enum members) declared by the catalog.
Trait Implementations§
Source§impl Clone for LocaleCoverage
impl Clone for LocaleCoverage
Source§fn clone(&self) -> LocaleCoverage
fn clone(&self) -> LocaleCoverage
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 moreSource§impl Debug for LocaleCoverage
impl Debug for LocaleCoverage
Source§impl<'de> Deserialize<'de> for LocaleCoverage
impl<'de> Deserialize<'de> for LocaleCoverage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LocaleCoverage
Source§impl PartialEq for LocaleCoverage
impl PartialEq for LocaleCoverage
Source§impl Serialize for LocaleCoverage
impl Serialize for LocaleCoverage
impl StructuralPartialEq for LocaleCoverage
Auto Trait Implementations§
impl Freeze for LocaleCoverage
impl RefUnwindSafe for LocaleCoverage
impl Send for LocaleCoverage
impl Sync for LocaleCoverage
impl Unpin for LocaleCoverage
impl UnsafeUnpin for LocaleCoverage
impl UnwindSafe for LocaleCoverage
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