Skip to main content

StyleExtension

Trait StyleExtension 

Source
pub trait StyleExtension: AttributeBuilderTarget + Sized {
    // Provided methods
    fn type<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, StyleTypeAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, StyleTypeAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn media<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, StyleMediaAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, StyleMediaAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn nonce<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, StyleNonceAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, StyleNonceAttributeDescriptor, __DioxusAttributeMarker> { ... }
    fn title<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, StyleTitleAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, StyleTitleAttributeDescriptor, __DioxusAttributeMarker> { ... }
}

Provided Methods§

Source

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

Source

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

Source

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

Source

fn title<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, StyleTitleAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, StyleTitleAttributeDescriptor, __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> StyleExtension for ElementBuilder<StyleElement, __DioxusAttributes, __DioxusChildren>

Implementors§

Source§

impl<__DioxusSpreadTarget> StyleExtension for __DioxusSpreadTarget
where __DioxusSpreadTarget: StyleSpreadTarget + AttributeBuilderTarget,