pub struct Col;Expand description
Shorthand constructors for creating columns.
Provides a concise API for common column configurations:
use standout::tabular::Col;
let col = Col::fixed(10); // Fixed width 10
let col = Col::min(5); // At least 5, grows to fit
let col = Col::bounded(5, 20); // Between 5 and 20
let col = Col::fill(); // Fill remaining space
let col = Col::fraction(2); // 2 parts of remaining space
// Chain with fluent methods
let col = Col::fixed(10).right().style("header");Implementations§
Auto Trait Implementations§
impl Freeze for Col
impl RefUnwindSafe for Col
impl Send for Col
impl Sync for Col
impl Unpin for Col
impl UnsafeUnpin for Col
impl UnwindSafe for Col
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