Trait yew::html::Properties

source ·
pub trait Properties: PartialEq {
    type Builder;

    // Required method
    fn builder() -> Self::Builder;
}
Expand description

Trait for building properties for a component

Required Associated Types§

source

type Builder

Builder that will be used to construct properties

Required Methods§

source

fn builder() -> Self::Builder

Entrypoint for building properties

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Properties for ()

§

type Builder = EmptyBuilder

source§

fn builder() -> Self::Builder

Implementors§

source§

impl Properties for SuspenseProps

§

type Builder = SuspensePropsBuilder

source§

impl Properties for ChildrenProps

§

type Builder = ChildrenPropsBuilder

source§

impl<T: Clone + PartialEq> Properties for ContextProviderProps<T>

§

type Builder = ContextProviderPropsBuilder<T>