Skip to main content

BlockContainerStyle

Trait BlockContainerStyle 

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§

fn text_align(&self) -> TextAlign

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

Implementations on Foreign Types§

§

impl<T> BlockContainerStyle for &T

Available on crate feature block_layout only.
§

fn text_align(&self) -> TextAlign

Implementors§

§

impl<S> BlockContainerStyle for Style<S>
where S: CheapCloneStr,

Available on crate feature block_layout only.