This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Trait yew::html::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§