Trait cushy::value::IntoReader
source · pub trait IntoReader<T> {
// Required method
fn into_reader(self) -> DynamicReader<T>;
// Provided methods
fn into_label(self) -> Label<T>
where Self: Sized,
T: Debug + Display + Send + 'static { ... }
fn to_label(&self) -> Label<T>
where Self: Clone,
T: Debug + Display + Send + 'static { ... }
}
Expand description
A type that can be converted into a DynamicReader<T>
.
Required Methods§
sourcefn into_reader(self) -> DynamicReader<T>
fn into_reader(self) -> DynamicReader<T>
Returns this value as a reader.
Provided Methods§
sourcefn into_label(self) -> Label<T>
fn into_label(self) -> Label<T>
Returns self
being Display
ed in a Label
widget.