cosmic::widget::button

Type Alias LinkButton

source
pub type LinkButton<'a, Message> = Builder<'a, Message, Hyperlink>;

Aliased Type§

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

Implementations§

source§

impl<'a, Message> Button<'a, Message>

source

pub fn new(label: impl Into<Cow<'a, str>> + 'static, link: Hyperlink) -> Self

source

pub const fn trailing_icon(self, set: bool) -> Self