struct Candidates {
space: Option<usize>,
cjk: Option<usize>,
pre_cjk: Option<usize>,
dash: Option<usize>,
punctuation: Option<usize>,
any: Option<usize>,
}Expand description
Where a row could end, best first. The last whitespace is the break a reader expects; the rest are what a word too wide for the wrap falls back through.
Fields§
§space: Option<usize>§cjk: Option<usize>§pre_cjk: Option<usize>Before a CJK character, which may begin a row.
dash: Option<usize>§punctuation: Option<usize>§any: Option<usize>Implementations§
Trait Implementations§
Source§impl Default for Candidates
impl Default for Candidates
Source§fn default() -> Candidates
fn default() -> Candidates
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Candidates
impl RefUnwindSafe for Candidates
impl Send for Candidates
impl Sync for Candidates
impl Unpin for Candidates
impl UnsafeUnpin for Candidates
impl UnwindSafe for Candidates
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