[][src]Enum elvis::widgets::values::layouts::GridTemplate

pub enum GridTemplate {
    FitContent(Unit),
    Inherit,
    Initial,
    MinMax(UnitUnit),
    None,
    Plain(Vec<Unit>),
    Repeat(i32Unit),
    SubGrid,
    Unset,
}

template rule in Grid columns an rows

Variants

FitContent(Unit)

Fit content

Inherit

Inherit the style of parent

Initial

Use initial style

MinMax(UnitUnit)

Set min and max width

None

No template

Plain(Vec<Unit>)

Customize grid

Repeat(i32Unit)

Repeat width

SubGrid

Use sub grid

Unset

Unset grid template

Trait Implementations

impl Default for GridTemplate[src]

impl Serde<GridTemplate, String, Error> for GridTemplate[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, 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.