pub enum HyphenationLanguage {
EnglishUs,
German,
}Expand description
A language .hyphenate(lang) can insert Knuth-Liang break points for
(lightweight-pdf-layout’s hyphenation feature; see that crate’s
hyphenate module for the dictionaries themselves).
Variants§
Trait Implementations§
Source§impl Clone for HyphenationLanguage
impl Clone for HyphenationLanguage
Source§fn clone(&self) -> HyphenationLanguage
fn clone(&self) -> HyphenationLanguage
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 HyphenationLanguage
Source§impl Debug for HyphenationLanguage
impl Debug for HyphenationLanguage
impl Eq for HyphenationLanguage
Source§impl PartialEq for HyphenationLanguage
impl PartialEq for HyphenationLanguage
impl StructuralPartialEq for HyphenationLanguage
Auto Trait Implementations§
impl Freeze for HyphenationLanguage
impl RefUnwindSafe for HyphenationLanguage
impl Send for HyphenationLanguage
impl Sync for HyphenationLanguage
impl Unpin for HyphenationLanguage
impl UnsafeUnpin for HyphenationLanguage
impl UnwindSafe for HyphenationLanguage
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