Trait leptos_dom::IntoStyle
source · pub trait IntoStyle {
// Required methods
fn into_style(self) -> Style;
fn into_style_boxed(self: Box<Self>) -> Style;
}
Expand description
Converts some type into a Style
.
Required Methods§
sourcefn into_style(self) -> Style
fn into_style(self) -> Style
Converts the object into a Style
.
sourcefn into_style_boxed(self: Box<Self>) -> Style
fn into_style_boxed(self: Box<Self>) -> Style
Helper function for dealing with Box<dyn IntoStyle>
.