Struct termimad::Fitter [−][src]
pub struct Fitter { pub min_kept_after_ellision: usize, pub allow_ellision: bool, pub prefer_mid_token_ellision: bool, pub allow_removals: bool, }
Expand description
A fitter can shorten a composite to make it fit a target width
Warning: the current implementation doesn’t really properly deal with chars that take more than one column on screen.
Fields
min_kept_after_ellision: usize
allow_ellision: bool
prefer_mid_token_ellision: bool
allow_removals: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Fitter
impl Send for Fitter
impl Sync for Fitter
impl Unpin for Fitter
impl UnwindSafe for Fitter
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T