[][src]Enum elvis_core::value::layouts::GridAuto

pub enum GridAuto {
    Auto,
    Fixed(Unit),
    Inherit,
    Initial,
    MaxContent,
    MinContent,
    MinMax(UnitUnit),
    Plain(Vec<Unit>),
    Unset,
}

config columns and rows in Grid

Variants

Auto

Auto Grid

Fixed(Unit)

Fix items in every line

Inherit

Inherit the style of parents

Initial

Use initial value

MaxContent

Max content

MinContent

Min content

MinMax(UnitUnit)

Use both max and min content

Plain(Vec<Unit>)

Use grid template

Unset

Unset the value

Trait Implementations

impl Clone for GridAuto[src]

impl Default for GridAuto[src]

impl Eq for GridAuto[src]

impl From<GridAuto> for Style[src]

impl Ord for GridAuto[src]

impl PartialEq<GridAuto> for GridAuto[src]

impl PartialOrd<GridAuto> for GridAuto[src]

impl StructuralEq for GridAuto[src]

impl StructuralPartialEq for GridAuto[src]

impl ToString for GridAuto[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> ToString for T where
    T: Display + ?Sized
[src]

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.