pub enum HorizontalAlignment {
Start,
Center,
End,
}
Expand description
The horizontal alignment for the pattern
Variants§
Trait Implementations§
Source§impl Clone for HorizontalAlignment
impl Clone for HorizontalAlignment
Source§fn clone(&self) -> HorizontalAlignment
fn clone(&self) -> HorizontalAlignment
Returns a duplicate 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 HorizontalAlignment
impl Debug for HorizontalAlignment
Source§impl Default for HorizontalAlignment
impl Default for HorizontalAlignment
Source§fn default() -> HorizontalAlignment
fn default() -> HorizontalAlignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HorizontalAlignment
impl<'de> Deserialize<'de> for HorizontalAlignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for HorizontalAlignment
impl Hash for HorizontalAlignment
Source§impl Ord for HorizontalAlignment
impl Ord for HorizontalAlignment
Source§fn cmp(&self, other: &HorizontalAlignment) -> Ordering
fn cmp(&self, other: &HorizontalAlignment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HorizontalAlignment
impl PartialEq for HorizontalAlignment
Source§impl PartialOrd for HorizontalAlignment
impl PartialOrd for HorizontalAlignment
Source§impl Serialize for HorizontalAlignment
impl Serialize for HorizontalAlignment
impl Copy for HorizontalAlignment
impl Eq for HorizontalAlignment
impl StructuralPartialEq for HorizontalAlignment
Auto Trait Implementations§
impl Freeze for HorizontalAlignment
impl RefUnwindSafe for HorizontalAlignment
impl Send for HorizontalAlignment
impl Sync for HorizontalAlignment
impl Unpin for HorizontalAlignment
impl UnwindSafe for HorizontalAlignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.