This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.
yew::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<VNode> for &str

Source§

impl IntoPropValue<VNode> for &String

Source§

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

Source§

impl IntoPropValue<VNode> for Option<VNode>

Source§

impl IntoPropValue<VNode> for bool

Source§

impl IntoPropValue<VNode> for char

Source§

impl IntoPropValue<VNode> for f32

Source§

impl IntoPropValue<VNode> for f64

Source§

impl IntoPropValue<VNode> for i8

Source§

impl IntoPropValue<VNode> for i16

Source§

impl IntoPropValue<VNode> for i32

Source§

impl IntoPropValue<VNode> for i64

Source§

impl IntoPropValue<VNode> for i128

Source§

impl IntoPropValue<VNode> for isize

Source§

impl IntoPropValue<VNode> for u8

Source§

impl IntoPropValue<VNode> for u16

Source§

impl IntoPropValue<VNode> for u32

Source§

impl IntoPropValue<VNode> for u64

Source§

impl IntoPropValue<VNode> for u128

Source§

impl IntoPropValue<VNode> for ()

Source§

impl IntoPropValue<VNode> for usize

Source§

impl IntoPropValue<VNode> for Rc<str>

Source§

impl IntoPropValue<VNode> for Rc<String>

Source§

impl IntoPropValue<VNode> for String

Source§

impl IntoPropValue<VNode> for Arc<str>

Source§

impl IntoPropValue<VNode> for Arc<String>

Source§

impl IntoPropValue<VNode> for Vec<VNode>

Source§

impl IntoPropValue<Option<String>> for &'static str

Source§

impl IntoPropValue<Option<String>> for Option<&'static str>

Source§

impl IntoPropValue<Option<IString>> for &'static str

Source§

impl IntoPropValue<Option<IString>> for Cow<'static, str>

Source§

impl IntoPropValue<Option<IString>> for Option<&'static str>

Source§

impl IntoPropValue<Option<IString>> for Option<Cow<'static, str>>

Source§

impl IntoPropValue<Option<IString>> for Option<Rc<str>>

Source§

impl IntoPropValue<Option<IString>> for Option<String>

Source§

impl IntoPropValue<Option<IString>> for Rc<str>

Source§

impl IntoPropValue<Option<IString>> for String

Source§

impl IntoPropValue<String> for &'static str

Source§

impl IntoPropValue<Classes> for &'static str

Source§

impl IntoPropValue<IString> for &'static str

Source§

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

Source§

impl IntoPropValue<IString> for Rc<str>

Source§

impl IntoPropValue<IString> for String

Source§

impl<I, O, F> IntoPropValue<Option<Callback<I, O>>> for Option<F>
where F: 'static + Fn(I) -> O,

Source§

impl<K: Eq + Hash + ImplicitClone + 'static, V: PartialEq + ImplicitClone + 'static> IntoPropValue<IMap<K, V>> for &'static [(K, V)]

Source§

fn into_prop_value(self) -> IMap<K, V>

Source§

impl<K: Eq + Hash + ImplicitClone + 'static, V: PartialEq + ImplicitClone + 'static> IntoPropValue<IMap<K, V>> for IndexMap<K, V>

Source§

fn into_prop_value(self) -> IMap<K, V>

Source§

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

Source§

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

Source§

impl<T, C> IntoPropValue<Option<ChildrenRenderer<C>>> for Option<VChild<T>>
where T: BaseComponent, C: Clone + Into<VNode>, VChild<T>: Into<C>,

Source§

impl<T, R> IntoPropValue<ChildrenRenderer<R>> for Vec<T>
where T: Into<R>, R: Clone + Into<VNode>,

Source§

impl<T: ImplicitClone + 'static> IntoPropValue<IArray<T>> for &'static [T]

Source§

fn into_prop_value(self) -> IArray<T>

Source§

impl<T: ImplicitClone + 'static> IntoPropValue<IArray<T>> for Vec<T>

Source§

fn into_prop_value(self) -> IArray<T>

Implementors§