[][src]Attribute Macro moxie::updater

#[updater]

Applied to impl blocks, this macro defines a new "updater" wrapper type that holds a crate::Key and forwards all receiver-mutating methods. Useful for defining interactions for a stateful component with less boilerplate.

Requires the name of the updater struct to generate in the arguments to the attribute.