Enum console::Alignment [−][src]
pub enum Alignment { Left, Center, Right, }
Defines the alignment for padding operations.
Variants
Left
Center
Right
Trait Implementations
impl Copy for Alignment
[src]
impl Copy for Alignment
impl Clone for Alignment
[src]
impl Clone for Alignment
fn clone(&self) -> Alignment
[src]
fn clone(&self) -> Alignment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Alignment
[src]
impl Debug for Alignment
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Alignment
[src]
impl PartialEq for Alignment
fn eq(&self, other: &Alignment) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Alignment
[src]
impl Eq for Alignment