Trait cushy::widgets::input::InputValue

source ·
pub trait InputValue<Storage>: IntoDynamic<Storage> + Sized
where Storage: InputStorage,
{ // Provided methods fn into_input(self) -> Input<Storage> { ... } fn to_input(&self) -> Input<Storage> where Self: Clone { ... } }
Expand description

A type that can be converted into a Dynamic containing Storage.

Provided Methods§

source

fn into_input(self) -> Input<Storage>

Returns this string as a text input widget.

source

fn to_input(&self) -> Input<Storage>
where Self: Clone,

Returns this string as a text input widget.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> InputValue<Cow<'static, str>> for T
where T: IntoDynamic<Cow<'static, str>>,

source§

impl<T> InputValue<String> for T
where T: IntoDynamic<String>,

source§

impl<T> InputValue<CowString> for T

source§

impl<T> InputValue<MaskedString> for T