Type Alias TextButton

Source
pub type TextButton<'a, Message> = Builder<'a, Message, Text>;

Aliased Type§

pub struct TextButton<'a, Message> { /* private fields */ }

Implementations§

Source§

impl<Message> Button<'_, Message>

Source

pub fn new(text: Text) -> Self

Source

pub fn leading_icon(self, icon: impl Into<Handle>) -> Self

Source

pub fn trailing_icon(self, icon: impl Into<Handle>) -> Self