Struct yemantic_ui::collections::button::Button [−][src]
pub struct Button { /* fields omitted */ }Trait Implementations
impl Component for Button[src]
impl Component for Button[src]type Message = MouseEvent
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. Read more
type Properties = ButtonProps
Properties are the inputs to a Component and should not mutated within a Component. They are passed to a Component using a JSX-style syntax. Read more
fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self[src]
fn update(&mut self, event: Self::Message) -> ShouldRender[src]
fn change(&mut self, props: Self::Properties) -> ShouldRender[src]
fn view(&self) -> Html[src]
pub fn rendered(&mut self, _first_render: bool)
pub fn destroy(&mut self)
Auto Trait Implementations
impl !RefUnwindSafe for Button
impl !Send for Button
impl !Sync for Button
impl Unpin for Button
impl !UnwindSafe for Button
Blanket Implementations
impl<T, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>, pub fn into_opt_prop_value(self) -> Option<V>
impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for Tpub fn into_prop_value(self) -> Option<T>
impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for Tpub fn into_prop_value(self) -> T
impl<T> Any for T where
T: Any,
T: Any,