pub trait OptionExtension: Sized + HasAttributes {
// Provided methods
fn disabled(self, value: impl IntoAttributeValue) -> Self { ... }
fn label(self, value: impl IntoAttributeValue) -> Self { ... }
fn value(self, value: impl IntoAttributeValue) -> Self { ... }
fn selected(self, value: impl IntoAttributeValue) -> Self { ... }
fn initial_selected(self, value: impl IntoAttributeValue) -> Self { ... }
}
Provided Methods§
fn disabled(self, value: impl IntoAttributeValue) -> Self
fn label(self, value: impl IntoAttributeValue) -> Self
fn value(self, value: impl IntoAttributeValue) -> Self
fn selected(self, value: impl IntoAttributeValue) -> Self
fn initial_selected(self, value: impl IntoAttributeValue) -> Self
Object Safety§
This trait is not object safe.