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.

1.28.0 · Source§

1.28.0 · Source§

1.28.0 · Source§

Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

1.28.0 · Source§

1.28.0 · Source§

1.28.0 · Source§

§

§

§

§

§

§