pub struct MatButton;
Expand description

The mwc-button component

MWC Documentation

Trait Implementations§

Messages are used to make Components dynamic and interactive. Simple Component’s can declare their Message type to be (). Complex Component’s commonly use an enum to declare multiple Message types.
The Component’s properties. Read more
Called when component is created.
Components define their visual layout using a JSX-style syntax through the use of the html! procedural macro. The full guide to using the macro can be found in Yew’s documentation. Read more
Called when a new message is sent to the component via its scope. Read more
Called when properties passed to the component change Read more
The rendered method is called after each time a Component is rendered but before the browser updates the page. Read more
Prepares the state during server side rendering. Read more
Called right before a Component is unmounted.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
The Component’s Message.
The Component’s Properties.
Creates a component.
Updates component’s internal state.
React to changes of component properties.
Returns a component layout to be rendered.
Notified after a layout is rendered.
Notified before a component is destroyed.
Prepares the server-side state.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to a value of a Properties struct.
Convert self to a value of a Properties struct.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more