pub enum TextTextAlign {
Left,
Center,
Right,
Justify,
Start,
End,
}Expand description
The text alignment
Variants§
Trait Implementations§
Source§impl Clone for TextTextAlign
impl Clone for TextTextAlign
impl Copy for TextTextAlign
Source§impl Debug for TextTextAlign
impl Debug for TextTextAlign
Source§impl<'de> Deserialize<'de> for TextTextAlign
impl<'de> Deserialize<'de> for TextTextAlign
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
impl Eq for TextTextAlign
Source§impl From<&TextTextAlign> for TextTextAlign
impl From<&TextTextAlign> for TextTextAlign
Source§fn from(value: &TextTextAlign) -> Self
fn from(value: &TextTextAlign) -> Self
Converts to this type from the input type.
Source§impl FromStr for TextTextAlign
impl FromStr for TextTextAlign
Source§impl Hash for TextTextAlign
impl Hash for TextTextAlign
Source§impl Ord for TextTextAlign
impl Ord for TextTextAlign
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TextTextAlign
impl PartialEq for TextTextAlign
Source§impl PartialOrd for TextTextAlign
impl PartialOrd for TextTextAlign
Source§impl Serialize for TextTextAlign
impl Serialize for TextTextAlign
impl StructuralPartialEq for TextTextAlign
Source§impl ToString for TextTextAlign
impl ToString for TextTextAlign
Source§impl TryFrom<&String> for TextTextAlign
impl TryFrom<&String> for TextTextAlign
Source§impl TryFrom<&str> for TextTextAlign
impl TryFrom<&str> for TextTextAlign
Auto Trait Implementations§
impl Freeze for TextTextAlign
impl RefUnwindSafe for TextTextAlign
impl Send for TextTextAlign
impl Sync for TextTextAlign
impl Unpin for TextTextAlign
impl UnsafeUnpin for TextTextAlign
impl UnwindSafe for TextTextAlign
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