Enum core::fmt::Alignment [] [src]

pub enum Alignment {
    Left,
    Right,
    Center,
    Unknown,
}
🔬 This is a nightly-only experimental API. (fmt_flags_align #27726)

Possible alignments returned by Formatter::align

Variants

🔬 This is a nightly-only experimental API. (fmt_flags_align #27726)

Indication that contents should be left-aligned.

🔬 This is a nightly-only experimental API. (fmt_flags_align #27726)

Indication that contents should be right-aligned.

🔬 This is a nightly-only experimental API. (fmt_flags_align #27726)

Indication that contents should be center-aligned.

🔬 This is a nightly-only experimental API. (fmt_flags_align #27726)

No alignment was requested.

Trait Implementations

impl Debug for Alignment
[src]

[src]

Formats the value using the given formatter.