Trait cushy::value::IntoDynamic

source ·
pub trait IntoDynamic<T> {
    // Required method
    fn into_dynamic(self) -> Dynamic<T>;
}
Expand description

A type that can convert into a Dynamic<T>.

Required Methods§

source

fn into_dynamic(self) -> Dynamic<T>

Returns self as a dynamic.

Implementors§

source§

impl IntoDynamic<CheckboxState> for Dynamic<Option<bool>>

source§

impl IntoDynamic<CheckboxState> for Dynamic<bool>

source§

impl<T> IntoDynamic<T> for Value<T>

source§

impl<T> IntoDynamic<T> for Dynamic<T>

source§

impl<T, E> IntoDynamic<Validation> for Dynamic<Result<T, E>>
where T: Send + 'static, E: Display + Send + 'static,

source§

impl<T, F> IntoDynamic<T> for F
where F: FnMut(&T) + Send + 'static, T: Default + Send + 'static,