Trait Chainable

Source
pub trait Chainable {
    // Required method
    fn chain<'a>(&'a self, outer: &'a StyleChain<'_>) -> StyleChain<'a>;
}
Expand description

Things that can be attached to a style chain.

Required Methods§

Source

fn chain<'a>(&'a self, outer: &'a StyleChain<'_>) -> StyleChain<'a>

Attach self as the first link of the chain.

Implementations on Foreign Types§

Source§

impl Chainable for [LazyHash<Style>]

Source§

fn chain<'a>(&'a self, outer: &'a StyleChain<'_>) -> StyleChain<'a>

Source§

impl<const N: usize> Chainable for [LazyHash<Style>; N]

Source§

fn chain<'a>(&'a self, outer: &'a StyleChain<'_>) -> StyleChain<'a>

Implementors§