pub trait ControlVocabularyExt {
// Required methods
fn control_label(self) -> &'static str;
fn states_value(self) -> bool;
}Expand description
Names the details controls a reader sees.
Required Methods§
Sourcefn control_label(self) -> &'static str
fn control_label(self) -> &'static str
Names the control the way a reader reads it.
Sourcefn states_value(self) -> bool
fn states_value(self) -> bool
States whether the control is shown as a field stating a value rather than as an action.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ControlVocabularyExt for DetailControl
Names the details controls a reader sees.
impl ControlVocabularyExt for DetailControl
Names the details controls a reader sees.
Source§fn control_label(self) -> &'static str
fn control_label(self) -> &'static str
Names the control the way a reader reads it.
Source§fn states_value(self) -> bool
fn states_value(self) -> bool
States whether the control is shown as a field stating a value rather than as an action.