pub fn fractional(mut self, size: usize, alignment: Alignment) -> Self {
        match self.fill {
            None => self.left.push(DynCol {
                unit: ColWidthUnit::FRACTIONAL,
                size,
                align: alignment,
            }),
            Some(_) => self.right.push(DynCol {
                unit: ColWidthUnit::FRACTIONAL,
                size,
                align: alignment,
            }),
        }
        return self;
    }
/// Add a column with fractional size.
///
/// The calculated width will be the width of
/// this column divided by the sum of the widths
/// of all the fractional columns (similar
/// to the `fr` unit in css).
Add a column with fractional size.
The calculated width will be the width of
this column divided by the sum of the widths
of all the fractional columns (similar
to the `fr` unit in css).
Add a column with fractional size . The calculated width will be the width of this column divided by the sum of the widths of all the fractional columns ( similar to the ` fr ` unit in css ) .
pub fn fractional(mut self, size: usize, alignment: Alignment) -> Self {
        match self.fill {
            None => self.left.push(DynCol {
                unit: ColWidthUnit::FRACTIONAL,
                size,
                align: alignment,
            }),
            Some(_) => self.right.push(DynCol {
                unit: ColWidthUnit::FRACTIONAL,
                size,
                align: alignment,
            }),
        }
        return self;
    }
pub fn fractional ( mut self , size : usize , alignment : Alignment ) -> Self { match self . fill { None => self . left . push ( DynCol { unit : ColWidthUnit :: FRACTIONAL , size , align : alignment , } ) , Some ( _ ) => self . right . push ( DynCol { unit : ColWidthUnit :: FRACTIONAL , size , align : alignment , } ) , } return self ; }
Add a column with fractional size.
Add a column with fractional size .
mut self
size
usize
alignment
Alignment
mut self
size
usize
alignment
Alignment