Enum tabled::Alignment [−][src]
pub enum Alignment { Horizontal(AlignmentHorizontal), Vertical(AlignmentVertical), }
Expand description
Alignment represent a horizontal and vertical alignemt setting for a Table
let table = Table::new(&data).with(Modify::new(Row(..1)).with(Alignment::center_horizontal()));
Variants
Horizontal(AlignmentHorizontal)
Vertical(AlignmentVertical)
Implementations
Center_vertical constructs a vertical alignment to CENTER
Center_horizontal constructs a horizontal alignment to CENTER
Trait Implementations
Modification function of a Cell
Auto Trait Implementations
impl RefUnwindSafe for Alignment
impl UnwindSafe for Alignment