Enum prettytable::format::Alignment [−][src]
pub enum Alignment {
LEFT,
CENTER,
RIGHT,
}Alignment for cell's content
Variants
LEFTAlign left
CENTERAlign in the center
RIGHTAlign right
Trait Implementations
impl Clone for Alignment[src]
impl Clone for Alignmentfn clone(&self) -> Alignment[src]
fn clone(&self) -> AlignmentReturns 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 Alignmentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Alignment[src]
impl PartialEq for Alignmentfn eq(&self, other: &Alignment) -> bool[src]
fn eq(&self, other: &Alignment) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for Alignment[src]
impl Copy for Alignmentimpl Hash for Alignment[src]
impl Hash for Alignmentfn 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