ButtonExt

Trait ButtonExt 

Source
pub trait ButtonExt {
    // Required method
    fn button(self) -> Button;
}
Expand description

A trait that adds a button method to any type that implements IntoView.

Required Methods§

Source

fn button(self) -> Button

Create a Button from the parent.

Implementors§

Source§

impl<T: IntoView + 'static> ButtonExt for T