pub enum OrderBy {
Msgid,
Origin,
}Available on crate feature
catalog only.Expand description
Sort order used when writing output catalogs.
Variants§
Msgid
Sort by msgid then context using the CLDR root order used by
Intl.Collator("en-US").
The built-in table covers Latin text, punctuation, symbols, and digits. Ligatures and digraphs do not expand into multiple collation elements, and characters outside the covered repertoire sort after it by code point. See ADR 0026.
Origin
Sort by the first source origin, then by the same collated message and
context identity used by OrderBy::Msgid.
Trait Implementations§
impl Copy for OrderBy
impl Eq for OrderBy
impl StructuralPartialEq for OrderBy
Auto Trait Implementations§
impl Freeze for OrderBy
impl RefUnwindSafe for OrderBy
impl Send for OrderBy
impl Sync for OrderBy
impl Unpin for OrderBy
impl UnsafeUnpin for OrderBy
impl UnwindSafe for OrderBy
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