Trait 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

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Typesยง

Sourceยง

impl Properties for ()

Sourceยง

impl Properties for Props

Sourceยง

impl Properties for GlobalProps

Sourceยง

impl Properties for ManagerProviderProps

Sourceยง

type Builder = ManagerProviderPropsBuilder

Sourceยง

fn builder() -> <ManagerProviderProps as Properties>::Builder

Sourceยง

impl Properties for AccordionButtonProps

Sourceยง

type Builder = AccordionButtonPropsBuilder

Sourceยง

fn builder() -> <AccordionButtonProps as Properties>::Builder

Sourceยง

impl Properties for AccordionItemProps

Sourceยง

type Builder = AccordionItemPropsBuilder

Sourceยง

fn builder() -> <AccordionItemProps as Properties>::Builder

Sourceยง

impl Properties for AccordionProps

Sourceยง

type Builder = AccordionPropsBuilder

Sourceยง

fn builder() -> <AccordionProps as Properties>::Builder

Sourceยง

impl Properties for YewI18nProviderConfig

Sourceยง

type Builder = YewI18nProviderConfigBuilder

Sourceยง

fn builder() -> <YewI18nProviderConfig as Properties>::Builder

Sourceยง

impl Properties for ConcreteRouterProps

Sourceยง

type Builder = ConcreteRouterPropsBuilder

Sourceยง

fn builder() -> <ConcreteRouterProps as Properties>::Builder

Sourceยง

impl Properties for RouterProps

Sourceยง

impl<R> Properties for RedirectProps<R>
where R: Routable,

Sourceยง

type Builder = RedirectPropsBuilder<R>

Sourceยง

fn builder() -> <RedirectProps<R> as Properties>::Builder

Sourceยง

impl<R> Properties for SwitchProps<R>
where R: Routable,

Sourceยง

type Builder = SwitchPropsBuilder<R>

Sourceยง

fn builder() -> <SwitchProps<R> as Properties>::Builder

Sourceยง

impl<R, Q, S> Properties for LinkProps<R, Q, S>

Sourceยง

type Builder = LinkPropsBuilder<R, Q, S>

Sourceยง

fn builder() -> <LinkProps<R, Q, S> as Properties>::Builder

Implementorsยง

Sourceยง

impl Properties for HeadProps

Sourceยง

type Builder = HeadPropsBuilder

Sourceยง

impl Properties for ImageProps

Sourceยง

type Builder = ImagePropsBuilder

Sourceยง

impl Properties for next_rs::link::LinkProps

Sourceยง

type Builder = LinkPropsBuilder

Sourceยง

impl Properties for next_rs::router::RouterProps

Sourceยง

type Builder = RouterPropsBuilder

Sourceยง

impl Properties for next_rs::router::SwitchProps

Sourceยง

type Builder = SwitchPropsBuilder

Sourceยง

impl Properties for AlertProps

Sourceยง

type Builder = AlertPropsBuilder

Sourceยง

impl Properties for MenuItem

Sourceยง

type Builder = MenuItemBuilder

Sourceยง

impl Properties for NavbarProps

Sourceยง

type Builder = NavbarPropsBuilder

Sourceยง

impl Properties for SidebarProps

Sourceยง

type Builder = SidebarPropsBuilder

Sourceยง

impl Properties for SuspenseProps

Sourceยง

type Builder = SuspensePropsBuilder

Sourceยง

impl Properties for ChildrenProps

Sourceยง

type Builder = ChildrenPropsBuilder

Sourceยง

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

Sourceยง

type Builder = ContextProviderPropsBuilder<T>