pub enum StylesAlignment {
BottomCenter,
BottomLeft,
BottomRight,
Center,
CenterLeft,
CenterRight,
TopCenter,
TopLeft,
TopRight,
}Expand description
The alignment to use.
Variants§
Trait Implementations§
Source§impl Clone for StylesAlignment
impl Clone for StylesAlignment
impl Copy for StylesAlignment
Source§impl Debug for StylesAlignment
impl Debug for StylesAlignment
Source§impl<'de> Deserialize<'de> for StylesAlignment
impl<'de> Deserialize<'de> for StylesAlignment
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 StylesAlignment
Source§impl From<&StylesAlignment> for StylesAlignment
impl From<&StylesAlignment> for StylesAlignment
Source§fn from(value: &StylesAlignment) -> Self
fn from(value: &StylesAlignment) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesAlignment
impl FromStr for StylesAlignment
Source§impl Hash for StylesAlignment
impl Hash for StylesAlignment
Source§impl Ord for StylesAlignment
impl Ord for StylesAlignment
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 StylesAlignment
impl PartialEq for StylesAlignment
Source§impl PartialOrd for StylesAlignment
impl PartialOrd for StylesAlignment
Source§impl Serialize for StylesAlignment
impl Serialize for StylesAlignment
impl StructuralPartialEq for StylesAlignment
Source§impl ToString for StylesAlignment
impl ToString for StylesAlignment
Source§impl TryFrom<&String> for StylesAlignment
impl TryFrom<&String> for StylesAlignment
Source§impl TryFrom<&str> for StylesAlignment
impl TryFrom<&str> for StylesAlignment
Auto Trait Implementations§
impl Freeze for StylesAlignment
impl RefUnwindSafe for StylesAlignment
impl Send for StylesAlignment
impl Sync for StylesAlignment
impl Unpin for StylesAlignment
impl UnsafeUnpin for StylesAlignment
impl UnwindSafe for StylesAlignment
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