Skip to main content

SemanticsExtension

Trait SemanticsExtension 

Source
pub trait SemanticsExtension: AttributeBuilderTarget + Sized {
    // Provided method
    fn encoding<__DioxusAttributeMarker, __DioxusAttributeValue>(
        self,
        value: __DioxusAttributeValue,
    ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, SemanticsEncodingAttributeDescriptor, __DioxusAttributeMarker>>::Output
       where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, SemanticsEncodingAttributeDescriptor, __DioxusAttributeMarker> { ... }
}

Provided Methods§

Source

fn encoding<__DioxusAttributeMarker, __DioxusAttributeValue>( self, value: __DioxusAttributeValue, ) -> <__DioxusAttributeValue as IntoAttributeBuilderValue<Self, SemanticsEncodingAttributeDescriptor, __DioxusAttributeMarker>>::Output
where __DioxusAttributeValue: IntoAttributeBuilderValue<Self, SemanticsEncodingAttributeDescriptor, __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> SemanticsExtension for ElementBuilder<SemanticsElement, __DioxusAttributes, __DioxusChildren>

Implementors§

Source§

impl<__DioxusSpreadTarget> SemanticsExtension for __DioxusSpreadTarget
where __DioxusSpreadTarget: SemanticsSpreadTarget + AttributeBuilderTarget,