Enum fmt_macros::Alignment [] [src]

pub enum Alignment {
    AlignLeft,
    AlignRight,
    AlignCenter,
    AlignUnknown,
}
Unstable (rustc_private)

Enum of alignments which are supported.

Variants

AlignLeft
Unstable (rustc_private)

The value will be aligned to the left.

AlignRight
Unstable (rustc_private)

The value will be aligned to the right.

AlignCenter
Unstable (rustc_private)

The value will be aligned in the center.

AlignUnknown
Unstable (rustc_private)

The value will take on a default alignment.

Trait Implementations

Derived Implementations

impl PartialEq for Alignment
[src]

fn eq(&self, __arg_0: &Alignment) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for Alignment
[src]

fn clone(&self) -> Alignment

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Alignment
[src]