[][src]Struct kl_hyphenate::Standard

pub struct Standard {
    pub language: Language,
    pub patterns: Patterns,
    pub exceptions: Exceptions,
    pub minima: (usize, usize),
}

A dictionary for standard Knuth–Liang hyphenation.

It comprises the working language, the pattern and exception sets, and the character boundaries for hyphenation.

Fields

language: Languagepatterns: Patternsexceptions: Exceptionsminima: (usize, usize)

The minimum number of chars from the start and end of a word where breaks may not occur.

Trait Implementations

impl Clone for Standard[src]

impl Debug for Standard[src]

impl<'de> Deserialize<'de> for Standard[src]

impl Eq for Standard[src]

impl<'h> Hyphenator<'h> for Standard[src]

type Opportunity = usize

Plain representation of a word break.

type Exact = usize

An owned opportunity used to specify and store the predetermined hyphenation of known words. Read more

impl Load for Standard[src]

impl PartialEq<Standard> for Standard[src]

impl<'d> Score<'d> for Standard[src]

type Value = u8

A value assigned to each index — which is to say, to each potential break between letters — to determine whether the string can be broken at that index. Read more

impl Serialize for Standard[src]

impl StructuralEq for Standard[src]

impl StructuralPartialEq for Standard[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.