pub trait BlockContainerStyle: CoreStyle {
// Provided methods
fn text_align(&self) -> TextAlign { ... }
fn align_content(&self) -> AlignContent { ... }
fn justify_items(&self) -> AlignItems { ... }
}Available on crate feature
block_layout only.Expand description
The set of styles required for a Block layout container
Provided Methods§
Sourcefn text_align(&self) -> TextAlign
fn text_align(&self) -> TextAlign
Defines which row in the grid the item should start and end at
Sourcefn align_content(&self) -> AlignContent
fn align_content(&self) -> AlignContent
How children of this block container are aligned in the block (cross) axis
Sourcefn justify_items(&self) -> AlignItems
fn justify_items(&self) -> AlignItems
The default inline-axis alignment of this block container’s children (justify-items).
Out-of-flow children with justify-self: auto are aligned within their static-position
rectangle according to this value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".