pub struct HyphenationDictionaryStore { /* private fields */ }Implementations§
Source§impl HyphenationDictionaryStore
impl HyphenationDictionaryStore
pub fn new() -> Self
pub fn register_dictionary_path( &self, locale: &str, path: impl AsRef<Path>, ) -> Result<(), HyphenationDictionaryError>
pub fn register_dictionary_reader( &self, locale: &str, reader: &mut impl Read, ) -> Result<(), HyphenationDictionaryError>
pub fn choose_auto_hyphen_break( &self, line: &str, style: &TextStyle, segment_start_char: usize, measured_break_char: usize, ) -> Option<usize>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HyphenationDictionaryStore
impl RefUnwindSafe for HyphenationDictionaryStore
impl Send for HyphenationDictionaryStore
impl Sync for HyphenationDictionaryStore
impl Unpin for HyphenationDictionaryStore
impl UnsafeUnpin for HyphenationDictionaryStore
impl UnwindSafe for HyphenationDictionaryStore
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