Skip to main content

ObjectExtension

Trait ObjectExtension 

Source
pub trait ObjectExtension: AttributeBuilderTarget + Sized {
    // Provided methods
    fn data<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectDataAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectDataAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn form<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectFormAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectFormAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn height<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectHeightAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectHeightAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn name<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectNameAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectNameAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn type<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectTypeAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectTypeAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn typemustmatch<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectTypemustmatchAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectTypemustmatchAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn usemap<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectUsemapAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectUsemapAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn width<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectWidthAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectWidthAttributeDescriptor, __DioxusAttributeMarker> { ... }
}

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn width<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, ObjectWidthAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, ObjectWidthAttributeDescriptor, __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> ObjectExtension for ElementBuilder<ObjectElement, __DioxusAttributes, __DioxusChildren>

Implementors§

Source§

impl<__DioxusSpreadTarget> ObjectExtension for __DioxusSpreadTarget
where __DioxusSpreadTarget: ObjectSpreadTarget + AttributeBuilderTarget,