[−][src]Struct hyphenation_commons::dictionary::extended::Extended
A dictionary for extended Knuth–Liang hyphenation, based on the strategy described by Németh in "Automatic non-standard hyphenation in OpenOffice.org".
It comprises the working language, the set of extended patterns and exceptions, and the character boundaries for hyphenation.
Fields
exceptions: Exceptions
minima: (usize, usize)
The minimum number of char
s from the start and end of a word where
breaks may not occur.
Implementations
impl Extended
[src]
pub fn language(&self) -> Language
[src]
The language for which this dictionary can provide hyphenation.
pub fn prefix_tallies<'f, 'q>(
&'f self,
query: &'q [u8]
) -> PrefixTallies<'f, 'q, Tally>
[src]
&'f self,
query: &'q [u8]
) -> PrefixTallies<'f, 'q, Tally>
An iterator over the tallies associated to all prefixes of the query, including the query itself.
Trait Implementations
impl Debug for Extended
[src]
impl<'de> Deserialize<'de> for Extended
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Builder> for Extended
[src]
impl Serialize for Extended
[src]
Auto Trait Implementations
impl RefUnwindSafe for Extended
impl Send for Extended
impl Sync for Extended
impl Unpin for Extended
impl UnwindSafe for Extended
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,