Type Alias IconButton

Source
pub type IconButton<'a, Message> = Builder<'a, Message, Icon>;

Aliased Type§

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

Implementations§

Source§

impl<Message> Button<'_, Message>

Source

pub fn new(icon: Icon) -> Self

Source

pub fn extra_small(self) -> Self

Applies the Extra Small button size preset.

Source

pub fn medium(self) -> Self

Applies the Medium button size preset.

Source

pub fn large(self) -> Self

Applies the Large button size preset.

Source

pub fn extra_large(self) -> Self

Applies the Extra Large button size preset.

Source

pub fn selected(self, selected: bool) -> Self

Source

pub fn vertical(self, vertical: bool) -> Self