Enum typstyle_core::util::FoldStyle
source · pub enum FoldStyle {
Fit,
Single,
Never,
}Expand description
A style for formatting items
Variants§
Fit
Fold items if them can fit in a single line
Single
Fold items if there is only one item and it fit in a single line, other wise put each item in a line
Never
Never fold items
Auto Trait Implementations§
impl Freeze for FoldStyle
impl RefUnwindSafe for FoldStyle
impl Send for FoldStyle
impl Sync for FoldStyle
impl Unpin for FoldStyle
impl UnwindSafe for FoldStyle
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