Struct libadwaita::builders::ToastBuilder
source · pub struct ToastBuilder { /* private fields */ }Expand description
A builder-pattern type to construct Toast objects.
Implementations§
source§impl ToastBuilder
impl ToastBuilder
pub fn action_name(self, action_name: impl Into<GString>) -> Self
pub fn action_target(self, action_target: &Variant) -> Self
pub fn custom_title(self, custom_title: &impl IsA<Widget>) -> Self
Available on crate feature
v1_2 only.pub fn priority(self, priority: ToastPriority) -> Self
pub fn timeout(self, timeout: u32) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
pub fn use_markup(self, use_markup: bool) -> Self
Available on crate feature
v1_4 only.Auto Trait Implementations§
impl RefUnwindSafe for ToastBuilder
impl !Send for ToastBuilder
impl !Sync for ToastBuilder
impl Unpin for ToastBuilder
impl UnwindSafe for ToastBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more