Trait cushy::styles::IntoComponentValue

source ·
pub trait IntoComponentValue {
    // Required method
    fn into_component_value(self) -> Value<Component>;
}
Expand description

A value that can be converted into a Value<Component>.

Required Methods§

source

fn into_component_value(self) -> Value<Component>

Returns self stored in a component value.

Implementors§

source§

impl<T> IntoComponentValue for Value<T>
where T: Clone + Send + 'static, Component: From<T>,

source§

impl<T> IntoComponentValue for Dynamic<T>
where T: Clone + Send + 'static, Component: From<T>,

source§

impl<T> IntoComponentValue for T
where T: Into<Component>,