pub struct ColumnMeasure {
pub header_width: usize,
pub max_content_width: usize,
pub min_content_width: usize,
}Expand description
Measured properties of a single column.
Built once during the prepare phase and stored in LayoutCache.
Fields§
§header_width: usizeDisplay width of the column header.
max_content_width: usizeWidest cell value seen in this column.
min_content_width: usizeWidest unbreakable token (longest single word). Used as a soft floor during shrinking — we try not to break words.
Trait Implementations§
Source§impl Clone for ColumnMeasure
impl Clone for ColumnMeasure
Source§fn clone(&self) -> ColumnMeasure
fn clone(&self) -> ColumnMeasure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColumnMeasure
impl RefUnwindSafe for ColumnMeasure
impl Send for ColumnMeasure
impl Sync for ColumnMeasure
impl Unpin for ColumnMeasure
impl UnsafeUnpin for ColumnMeasure
impl UnwindSafe for ColumnMeasure
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