dioxus_lib::prelude

Trait OptionExtension

source
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§

source

fn disabled(self, value: impl IntoAttributeValue) -> Self

source

fn label(self, value: impl IntoAttributeValue) -> Self

source

fn value(self, value: impl IntoAttributeValue) -> Self

source

fn selected(self, value: impl IntoAttributeValue) -> Self

source

fn initial_selected(self, value: impl IntoAttributeValue) -> Self

Object Safety§

This trait is not object safe.

Implementors§