Enum applin::HAlignment
source · pub enum HAlignment {
Start,
Center,
End,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for HAlignment
impl Clone for HAlignment
source§fn clone(&self) -> HAlignment
fn clone(&self) -> HAlignment
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 HAlignment
impl Debug for HAlignment
source§impl Default for HAlignment
impl Default for HAlignment
source§impl<'de> Deserialize<'de> for HAlignment
impl<'de> Deserialize<'de> for HAlignment
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 HAlignment
impl Hash for HAlignment
source§impl Ord for HAlignment
impl Ord for HAlignment
source§fn cmp(&self, other: &HAlignment) -> Ordering
fn cmp(&self, other: &HAlignment) -> 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 HAlignment
impl PartialEq for HAlignment
source§fn eq(&self, other: &HAlignment) -> bool
fn eq(&self, other: &HAlignment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for HAlignment
impl PartialOrd for HAlignment
source§fn partial_cmp(&self, other: &HAlignment) -> Option<Ordering>
fn partial_cmp(&self, other: &HAlignment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for HAlignment
impl Serialize for HAlignment
impl Eq for HAlignment
impl StructuralEq for HAlignment
impl StructuralPartialEq for HAlignment
Auto Trait Implementations§
impl RefUnwindSafe for HAlignment
impl Send for HAlignment
impl Sync for HAlignment
impl Unpin for HAlignment
impl UnwindSafe for HAlignment
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