pub enum StylesDirection {
Horizontal,
Vertical,
}Expand description
The direction of the component (horizontal/vertical)
Variants§
Trait Implementations§
Source§impl Clone for StylesDirection
impl Clone for StylesDirection
impl Copy for StylesDirection
Source§impl Debug for StylesDirection
impl Debug for StylesDirection
Source§impl<'de> Deserialize<'de> for StylesDirection
impl<'de> Deserialize<'de> for StylesDirection
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 StylesDirection
Source§impl From<&StylesDirection> for StylesDirection
impl From<&StylesDirection> for StylesDirection
Source§fn from(value: &StylesDirection) -> Self
fn from(value: &StylesDirection) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesDirection
impl FromStr for StylesDirection
Source§impl Hash for StylesDirection
impl Hash for StylesDirection
Source§impl Ord for StylesDirection
impl Ord for StylesDirection
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 StylesDirection
impl PartialEq for StylesDirection
Source§impl PartialOrd for StylesDirection
impl PartialOrd for StylesDirection
Source§impl Serialize for StylesDirection
impl Serialize for StylesDirection
impl StructuralPartialEq for StylesDirection
Source§impl ToString for StylesDirection
impl ToString for StylesDirection
Source§impl TryFrom<&String> for StylesDirection
impl TryFrom<&String> for StylesDirection
Source§impl TryFrom<&str> for StylesDirection
impl TryFrom<&str> for StylesDirection
Auto Trait Implementations§
impl Freeze for StylesDirection
impl RefUnwindSafe for StylesDirection
impl Send for StylesDirection
impl Sync for StylesDirection
impl Unpin for StylesDirection
impl UnsafeUnpin for StylesDirection
impl UnwindSafe for StylesDirection
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