Trait mas_templates::SiteConfigExt

source ·
pub trait SiteConfigExt: Sealed {
    // Required methods
    fn templates_branding(&self) -> SiteBranding;
    fn templates_features(&self) -> SiteFeatures;
}
Expand description

Extension trait for [SiteConfig] to construct SiteBranding and SiteFeatures from it.

Required Methods§

source

fn templates_branding(&self) -> SiteBranding

Construct a SiteBranding from the [SiteConfig].

source

fn templates_features(&self) -> SiteFeatures

Construct a SiteFeatures from the [SiteConfig].

Implementations on Foreign Types§

source§

impl SiteConfigExt for SiteConfig

Implementors§