Enum prettytable::format::Alignment [−][src]
pub enum Alignment { LEFT, CENTER, RIGHT, }
Alignment for cell's content
Variants
LEFT
Align left
CENTER
Align in the center
RIGHT
Align right
Trait Implementations
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 Copy for Alignment
[src]
impl Copy for Alignment
impl Hash for Alignment
[src]
impl Hash for Alignment
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for Alignment
[src]
impl Eq for Alignment