Trait cushy::widgets::label::Displayable
source · pub trait Displayable<T>{
// Required method
fn into_displayable(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 { ... }
}
Expand description
A type that can be displayed as a Label
.
Required Methods§
sourcefn into_displayable(self) -> DynamicReader<T>
fn into_displayable(self) -> DynamicReader<T>
Returns this value as a displayable reader.
Provided Methods§
sourcefn into_label(self) -> Label<T>
fn into_label(self) -> Label<T>
Returns self
being Display
ed in a Label
widget.