Skip to main content

FormSectionBuilder

Trait FormSectionBuilder 

Source
pub trait FormSectionBuilder: Sized {
    // Required methods
    fn title<M>(self, t: impl IntoText<M>) -> Self;
    fn footer<M>(self, t: impl IntoText<M>) -> Self;
}
Expand description

Builder methods of FormSection, 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 title<M>(self, t: impl IntoText<M>) -> Self

The section header, shown above the card in the footnote style.

Source

fn footer<M>(self, t: impl IntoText<M>) -> Self

The section footer, shown under the card in the footnote style: the explanatory line settings screens put beneath a group of rows (iOS section footers, libadwaita’s group description).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<C: PieceSeq + 'static> FormSectionBuilder for FormSection<C>

Source§

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

Day API ↩ Guides· daybrite.dev