Struct yew_styles::layouts::container::Props [−][src]
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
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !UnwindSafe for Props
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.