| 1 | /// This can be set on [columns](crate::Column::set_cell_alignment) and |
| 2 | /// [cells](crate::Cell::set_alignment). |
| 3 | /// |
| 4 | /// Determines how content of cells should be aligned. |
| 5 | /// |
| 6 | /// ```text |
| 7 | /// +----------------------+ |
| 8 | /// | Header1 | |
| 9 | /// +======================+ |
| 10 | /// | Left | |
| 11 | /// |----------------------+ |
| 12 | /// | center | |
| 13 | /// |----------------------+ |
| 14 | /// | right | |
| 15 | /// +----------------------+ |
| 16 | /// ``` |
| 17 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, Hashrust-analyzer cargo core https://github.com/rust-lang/rust/library/core hash/macros/Hash:)] |
| 18 | pub enum CellAlignmentrust-analyzer cargo comfy-table 7.2.2 style/cell/CellAlignment# { |
| 19 | Leftrust-analyzer cargo comfy-table 7.2.2 style/cell/CellAlignment#Left#, |
| 20 | Rightrust-analyzer cargo comfy-table 7.2.2 style/cell/CellAlignment#Right#, |
| 21 | Centerrust-analyzer cargo comfy-table 7.2.2 style/cell/CellAlignment#Center#, |
| 22 | } |