Skip to main content

OptionExtension

Trait OptionExtension 

Source
pub trait OptionExtension: AttributeBuilderTarget + Sized {
    // Provided methods
    fn disabled<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionDisabledAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionDisabledAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn label<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionLabelAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionLabelAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn value<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionValueAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionValueAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn selected<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionSelectedAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionSelectedAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn initial_selected<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionInitialSelectedAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionInitialSelectedAttributeDescriptor, __DioxusAttributeMarker> { ... }
}

Provided Methods§

Source

fn disabled<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionDisabledAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionDisabledAttributeDescriptor, __DioxusAttributeMarker>,

Source

fn label<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionLabelAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionLabelAttributeDescriptor, __DioxusAttributeMarker>,

Source

fn value<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionValueAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionValueAttributeDescriptor, __DioxusAttributeMarker>,

Source

fn selected<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionSelectedAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionSelectedAttributeDescriptor, __DioxusAttributeMarker>,

Source

fn initial_selected<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, OptionInitialSelectedAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, OptionInitialSelectedAttributeDescriptor, __DioxusAttributeMarker>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<__DioxusAttributes, __DioxusChildren> OptionExtension for ElementBuilder<OptionElement, __DioxusAttributes, __DioxusChildren>

Implementors§

Source§

impl<__DioxusSpreadTarget> OptionExtension for __DioxusSpreadTarget
where __DioxusSpreadTarget: OptionSpreadTarget + AttributeBuilderTarget,