Skip to main content

BaseExtension

Trait BaseExtension 

Source
pub trait BaseExtension: AttributeBuilderTarget + Sized {
    // Provided methods
    fn href<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, BaseHrefAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, BaseHrefAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn target<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, BaseTargetAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, BaseTargetAttributeDescriptor, __DioxusAttributeMarker> { ... }
}

Provided Methods§

Source

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

Source

fn target<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, BaseTargetAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, BaseTargetAttributeDescriptor, __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> BaseExtension for ElementBuilder<BaseElement, __DioxusAttributes, __DioxusChildren>

Implementors§

Source§

impl<__DioxusSpreadTarget> BaseExtension for __DioxusSpreadTarget
where __DioxusSpreadTarget: BaseSpreadTarget + AttributeBuilderTarget,