Enum etop_format::number_format::NumberAlign
source · pub enum NumberAlign {
Left,
Right,
Center,
SignedRight,
}Expand description
NumberAlignment
Variants§
Left
left align
Right
right align
Center
center align
SignedRight
center align with sign on left side
Trait Implementations§
source§impl Clone for NumberAlign
impl Clone for NumberAlign
source§fn clone(&self) -> NumberAlign
fn clone(&self) -> NumberAlign
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NumberAlign
impl Debug for NumberAlign
source§impl Default for NumberAlign
impl Default for NumberAlign
source§fn default() -> NumberAlign
fn default() -> NumberAlign
Returns the “default value” for a type. Read more
source§impl FromStr for NumberAlign
impl FromStr for NumberAlign
source§impl PartialEq for NumberAlign
impl PartialEq for NumberAlign
source§fn eq(&self, other: &NumberAlign) -> bool
fn eq(&self, other: &NumberAlign) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for NumberAlign
impl StructuralEq for NumberAlign
impl StructuralPartialEq for NumberAlign
Auto Trait Implementations§
impl RefUnwindSafe for NumberAlign
impl Send for NumberAlign
impl Sync for NumberAlign
impl Unpin for NumberAlign
impl UnwindSafe for NumberAlign
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more