pub enum CatalogSemantics {
IcuNative,
GettextCompat,
}Available on crate feature
catalog only.Expand description
High-level semantics used by the catalog API.
Variants§
IcuNative
ICU-native semantics with raw ICU/text messages as the primary representation.
GettextCompat
Classic gettext plural semantics used for PO compatibility workflows.
Trait Implementations§
Source§impl Clone for CatalogSemantics
impl Clone for CatalogSemantics
Source§fn clone(&self) -> CatalogSemantics
fn clone(&self) -> CatalogSemantics
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 moreimpl Copy for CatalogSemantics
Source§impl Debug for CatalogSemantics
impl Debug for CatalogSemantics
Source§impl Default for CatalogSemantics
impl Default for CatalogSemantics
Source§fn default() -> CatalogSemantics
fn default() -> CatalogSemantics
Returns the “default value” for a type. Read more
impl Eq for CatalogSemantics
Source§impl PartialEq for CatalogSemantics
impl PartialEq for CatalogSemantics
Source§fn eq(&self, other: &CatalogSemantics) -> bool
fn eq(&self, other: &CatalogSemantics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogSemantics
Auto Trait Implementations§
impl Freeze for CatalogSemantics
impl RefUnwindSafe for CatalogSemantics
impl Send for CatalogSemantics
impl Sync for CatalogSemantics
impl Unpin for CatalogSemantics
impl UnsafeUnpin for CatalogSemantics
impl UnwindSafe for CatalogSemantics
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