yew_stdweb::html

Trait IntoPropValue

Source
pub trait IntoPropValue<T> {
    // Required method
    fn into_prop_value(self) -> T;
}
Expand description

A trait similar to Into<T> which allows conversion to a value of a Properties struct.

Required Methods§

Source

fn into_prop_value(self) -> T

Convert self to a value of a Properties struct.

Implementations on Foreign Types§

Source§

impl IntoPropValue<Cow<'static, str>> for &'static str

Source§

fn into_prop_value(self) -> Cow<'static, str>

Source§

impl IntoPropValue<Cow<'static, str>> for String

Source§

fn into_prop_value(self) -> Cow<'static, str>

Source§

impl IntoPropValue<String> for &'static str

Source§

impl<T> IntoPropValue<Option<T>> for &T
where T: ImplicitClone,

Source§

impl<T> IntoPropValue<T> for &T
where T: ImplicitClone,

Implementors§

Source§

impl IntoPropValue<Cow<'static, str>> for Classes

Source§

impl<T> IntoPropValue<Option<T>> for T

Source§

impl<T> IntoPropValue<T> for T