leptos::attr::any_attribute

Trait IntoAnyAttribute

Source
pub trait IntoAnyAttribute {
    // Required method
    fn into_any_attr(self) -> AnyAttribute;
}
Expand description

Converts an Attribute into AnyAttribute.

Required Methods§

Source

fn into_any_attr(self) -> AnyAttribute

Wraps the given attribute.

Implementors§

Source§

impl<T> IntoAnyAttribute for T
where T: Send + Attribute + 'static, <T as Attribute>::State: 'static, Element: Clone,