pub enum HyphenLang {
EnglishUS,
EnglishGB,
}Expand description
The set of Knuth–Liang hyphenation dictionaries a Context may have
installed. Deliberately a Copy tag with no dependency on the
hyphenation crate — Context is cloned constantly, so it cannot own a
hyphenation::Standard dictionary (~89 KiB, not cheaply clonable). The
dictionaries live in a process-global load-once cache in
crates/rustyfi-lang/src/hyphenation.rs, keyed by this tag.
Variants§
Trait Implementations§
Source§impl Clone for HyphenLang
impl Clone for HyphenLang
Source§fn clone(&self) -> HyphenLang
fn clone(&self) -> HyphenLang
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 HyphenLang
Source§impl Debug for HyphenLang
impl Debug for HyphenLang
impl Eq for HyphenLang
Source§impl Hash for HyphenLang
impl Hash for HyphenLang
Source§impl PartialEq for HyphenLang
impl PartialEq for HyphenLang
impl StructuralPartialEq for HyphenLang
Auto Trait Implementations§
impl Freeze for HyphenLang
impl RefUnwindSafe for HyphenLang
impl Send for HyphenLang
impl Sync for HyphenLang
impl Unpin for HyphenLang
impl UnsafeUnpin for HyphenLang
impl UnwindSafe for HyphenLang
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