[][src]Enum azul_css::LayoutDirection

pub enum LayoutDirection {
    Row,
    RowReverse,
    Column,
    ColumnReverse,
}

Represents a flex-direction attribute - default: Column

Variants

Row
RowReverse
Column
ColumnReverse

Implementations

impl LayoutDirection[src]

pub fn get_axis(&self) -> LayoutAxis[src]

pub fn is_reverse(&self) -> bool[src]

Returns true, if this direction is a column-reverse or row-reverse direction

Trait Implementations

impl Clone for LayoutDirection[src]

impl Copy for LayoutDirection[src]

impl Debug for LayoutDirection[src]

impl Default for LayoutDirection[src]

impl Eq for LayoutDirection[src]

impl From<LayoutDirection> for CssProperty[src]

impl Hash for LayoutDirection[src]

impl Ord for LayoutDirection[src]

impl PartialEq<LayoutDirection> for LayoutDirection[src]

impl PartialOrd<LayoutDirection> for LayoutDirection[src]

impl StructuralEq for LayoutDirection[src]

impl StructuralPartialEq for LayoutDirection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.