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<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<Option<String>> for &'static str

source§

impl IntoPropValue<Option<String>> for Option<&'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 IntoPropValue<String> for &'static str

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for &str

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Cow<'_, str>

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for bool

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for char

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for f32

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for f64

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for i8

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for i16

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for i32

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for i64

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for i128

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for isize

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for u8

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for u16

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for u32

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for u64

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for u128

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for usize

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Rc<str>

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Rc<String>

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for String

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Arc<str>

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Arc<String>

source§

impl IntoPropValue<Classes> for &'static str

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§

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

Implementors§