Searched refs:WordSplitter (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/textwrap/src/ |
D | splitting.rs | 36 pub trait WordSplitter: std::fmt::Debug { interface 54 impl<S: WordSplitter + ?Sized> WordSplitter for Box<S> { 61 impl<T: ?Sized + WordSplitter> WordSplitter for &T { impl 84 impl WordSplitter for NoHyphenation { 105 impl WordSplitter for HyphenSplitter { 135 impl WordSplitter for hyphenation::Standard {
|
D | lib.rs | 181 pub use crate::splitting::{HyphenSplitter, NoHyphenation, WordSplitter}; 187 pub struct Options<'a, S: ?Sized = Box<dyn WordSplitter>> { 421 impl<'a, S: WordSplitter> Options<'a, S> { 611 S: WordSplitter, in fill() 743 S: WordSplitter, in refill() 881 S: WordSplitter, in wrap() argument 1036 S: WordSplitter, in wrap_columns() argument 1758 let mut dyn_opt: &Options<dyn WordSplitter> = &opt_a; in trait_object() 1769 let mut vector: Vec<&Options<dyn WordSplitter>> = Vec::new(); in trait_object_vec() 1805 let mut wrapper: Box<Options<dyn WordSplitter>> = Box::new(Options::new(80)); in outer_boxing()
|
D | core.rs | 33 use crate::{Options, WordSplitter}; 400 S: WordSplitter, in split_words() argument 859 impl WordSplitter for FixedSplitPoint { in split_words_adds_penalty()
|
/external/rust/crates/textwrap/ |
D | CHANGELOG.md | 42 WordSplitter` for `Box<T> where T: WordSplitter`. 179 S: WordSplitter, 184 S: WordSplitter, 213 `Wrapper.splitter` from `T: WordSplitter` to `Box<dyn 214 WordSplitter>`.
|
D | README.md | 122 `WordSplitter`s and wrap algorithms.
|