pub enum TextAlignment {
Left,
Right,
Center,
Justify,
}
Variants§
Trait Implementations§
Source§impl Clone for TextAlignment
impl Clone for TextAlignment
Source§fn clone(&self) -> TextAlignment
fn clone(&self) -> TextAlignment
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 TextAlignment
impl Debug for TextAlignment
Source§impl Default for TextAlignment
impl Default for TextAlignment
Source§impl<'de> Deserialize<'de> for TextAlignment
impl<'de> Deserialize<'de> for TextAlignment
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 TextAlignment
impl Hash for TextAlignment
Source§impl Ord for TextAlignment
impl Ord for TextAlignment
Source§fn cmp(&self, other: &TextAlignment) -> Ordering
fn cmp(&self, other: &TextAlignment) -> 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 TextAlignment
impl PartialEq for TextAlignment
Source§impl PartialOrd for TextAlignment
impl PartialOrd for TextAlignment
Source§impl Serialize for TextAlignment
impl Serialize for TextAlignment
impl Copy for TextAlignment
impl Eq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Freeze for TextAlignment
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnwindSafe for TextAlignment
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