[][src]Struct kl_hyphenate_commons::dictionary::extended::Subregion

pub struct Subregion {
    pub left: usize,
    pub right: usize,
    pub substitution: String,
    pub breakpoint: usize,
}

Word alterations extending a standard Knuth–Liang pattern.

Fields

left: usize

The number of bytes that the substitution will replace before the break.

right: usize

The number of bytes that the substitution will replace after the break.

substitution: String

The replacement for the substring to be altered around the break, as delimited by the left and right subregion boundaries.

breakpoint: usize

An index into the substitution, denoting the hyphenation opportunity within this subregion.

Trait Implementations

impl Clone for Subregion[src]

impl Debug for Subregion[src]

impl Default for Subregion[src]

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

impl Eq for Subregion[src]

impl Hash for Subregion[src]

impl PartialEq<Subregion> for Subregion[src]

impl Serialize for Subregion[src]

impl StructuralEq for Subregion[src]

impl StructuralPartialEq for Subregion[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.