[][src]Struct yew_styles::layouts::container::Props

pub struct Props {
    pub direction: Direction,
    pub wrap: Wrap,
    pub justify_content: JustifyContent,
    pub align_content: AlignContent,
    pub align_items: AlignItems,
    pub code_ref: NodeRef,
    pub key: String,
    pub class_name: String,
    pub id: String,
    pub children: Children,
}

Fields

direction: Direction

Which direction are placing the items. Required

wrap: Wrap

Set a wrap for the items. Required

justify_content: JustifyContent

Set how will be justified the content. Default JustifyContent::FlexStart(Mode::NoMode)

align_content: AlignContent

Set how will be aligned the content. Default AlignContent::Stretch(Mode::NoMode)

align_items: AlignItems

Set how will be aligned the items. Default AlignItems::Stretch(Mode::NoMode)

code_ref: NodeRef

General property to get the ref of the component

key: String

General property to add keys

class_name: String

General property to add custom class styles

id: String

General property to add custom id

children: Children

Trait Implementations

impl Clone for Props[src]

impl PartialEq<Props> for Props[src]

impl Properties for Props[src]

type Builder = PropsBuilder<PropsBuilderStep_missing_required_prop_direction>

Builder that will be used to construct properties

impl StructuralPartialEq for Props[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,