BlockContainerStyle

Trait BlockContainerStyle 

Source
pub trait BlockContainerStyle: CoreStyle {
    // Provided method
    fn text_align(&self) -> TextAlign { ... }
}
Expand description

The set of styles required for a Block layout container

Provided Methods§

Source

fn text_align(&self) -> TextAlign

Defines which row in the grid the item should start and end at

Implementations on Foreign Types§

Source§

impl<T: BlockContainerStyle> BlockContainerStyle for &T

Available on crate feature block_layout only.

Implementors§

Source§

impl BlockContainerStyle for &Style

Available on crate feature block_layout only.