[−][src]Function sauron_core::html::attributes::classes_flag
pub fn classes_flag<P, S, MSG>(pair: P) -> Attribute<MSG> where
P: AsRef<[(S, bool)]>,
S: ToString,
ⓘThis example is not tested
classes_flag([ ("dashed", self.is_hidden), ("error", self.has_error), ]),