Skip to main content

DividerBuilder

Trait DividerBuilder 

Source
pub trait DividerBuilder: Sized {
    // Required method
    fn vertical(self) -> Self;
}
Expand description

Builder methods of Divider, reachable through a Decorated (docs/api-style.md “Typed builders and erasure”): generic modifiers and typed ones chain in any order.

Required Methods§

Source

fn vertical(self) -> Self

Turn the rule on its side: a thin vertical line that fills the row’s height, the way the horizontal one fills a column’s width. Between a row’s panes, where a horizontal rule would draw a stray line across one of them.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl DividerBuilder for Divider

Source§

impl<DecoratedInner: DividerBuilder + Piece> DividerBuilder for Decorated<DecoratedInner>

Day API ↩ Guides· daybrite.dev