pub struct Builder<T> { /* private fields */ }
Expand description
Builder struct to create a hyphenation instance
Implementations§
Source§impl<T> Builder<T>
impl<T> Builder<T>
Sourcepub fn filename(filename: T) -> Self
pub fn filename(filename: T) -> Self
Constructs a new Builder for a given dictionary file
- filename - filename of hyph_*.dic to read
Sourcepub fn left(&mut self, left: usize) -> &mut Self
pub fn left(&mut self, left: usize) -> &mut Self
Sets the minimum number of characters in the first syllable
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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