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, }
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 RefUnwindSafe for Fitter
impl UnwindSafe for Fitter
impl UnwindSafe for Fitter