Alignment in core::fmt - Rust (original) (raw)
Enum Alignment
1.28.0 · Source
pub enum Alignment {
Left,
Right,
Center,
}
Expand description
Possible alignments returned by Formatter::align
§1.28.0
Indication that contents should be left-aligned.
§1.28.0
Indication that contents should be right-aligned.
§1.28.0
Indication that contents should be center-aligned.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient, and should not be overridden without very good reason.