pub struct SubCol;Expand description
Shorthand constructors for creating sub-columns.
use standout_render::tabular::SubCol;
let fill = SubCol::fill(); // Fill remaining space
let fixed = SubCol::fixed(10); // Fixed width 10
let bounded = SubCol::bounded(0, 30); // Between 0 and 30
let max = SubCol::max(20); // Up to 20
// Chain with fluent methods
let tag = SubCol::bounded(0, 30).right().style("tag");Implementations§
Auto Trait Implementations§
impl Freeze for SubCol
impl RefUnwindSafe for SubCol
impl Send for SubCol
impl Sync for SubCol
impl Unpin for SubCol
impl UnsafeUnpin for SubCol
impl UnwindSafe for SubCol
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