/// The width of a column with respect to the width of the table.
#[derive(Copy, Clone, Eq, PartialEq)]pubenumWidth{
One,
Half,
Third,
TwoThirds,}implWidth{/// Returns the width of the column as a ratio of the width of the table.
/// This is used by Cosmic Text.
pubconstfncolumn_ratio(&self)->f32{matchself{Self::One =>1.,Self::Half =>0.5,Self::Third =>0.3333,Self::TwoThirds =>0.6666,}}}