Trait yew::html::IntoPropValue[][src]

pub trait IntoPropValue<T> {
    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

fn into_prop_value(self) -> T[src]

Expand description

Convert self to a value of a Properties struct.

Loading content...

Implementations on Foreign Types

impl<T> IntoPropValue<T> for &T where
    T: ImplicitClone
[src]

fn into_prop_value(self) -> T[src]

impl<T> IntoPropValue<Option<T>> for &T where
    T: ImplicitClone
[src]

impl IntoPropValue<String> for &'static str[src]

impl IntoPropValue<Cow<'static, str>> for &'static str[src]

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

impl IntoPropValue<Cow<'static, str>> for String[src]

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

Loading content...

Implementors

impl IntoPropValue<Cow<'static, str>> for Classes[src]

impl<T> IntoPropValue<Option<T>> for T[src]

impl<T> IntoPropValue<T> for T[src]

fn into_prop_value(self) -> T[src]

Loading content...