BlockItemStyle

Trait BlockItemStyle 

Source
pub trait BlockItemStyle: CoreStyle {
    // Provided method
    fn is_table(&self) -> bool { ... }
}
Expand description

The set of styles required for a Block layout item (child of a Block container)

Provided Methods§

Source

fn is_table(&self) -> bool

Whether the item is a table. Table children are handled specially in block layout.

Implementations on Foreign Types§

Source§

impl<T: BlockItemStyle> BlockItemStyle for &T

Available on crate feature block_layout only.
Source§

fn is_table(&self) -> bool

Implementors§

Source§

impl BlockItemStyle for Style

Available on crate feature block_layout only.