Struct fui_controls::StringViewModel
source · pub struct StringViewModel {
pub text: String,
}
Expand description
This view model is useful to use with many controls to represent simple static text. For example as an text item for DropDown’s items collection.
Fields§
§text: String
Implementations§
Trait Implementations§
source§impl PartialEq<StringViewModel> for StringViewModel
impl PartialEq<StringViewModel> for StringViewModel
source§fn eq(&self, other: &StringViewModel) -> bool
fn eq(&self, other: &StringViewModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.