pub struct ButtonBuilder { /* private fields */ }Expand description
Builder for Button object.
Implementations§
Source§impl ButtonBuilder
impl ButtonBuilder
Sourcepub fn get_action_id(&self) -> Option<&String>
pub fn get_action_id(&self) -> Option<&String>
get action_id field value.
Sourcepub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
set action_id field value.
Sourcepub fn get_confirm(&self) -> Option<&ConfirmationDialog>
pub fn get_confirm(&self) -> Option<&ConfirmationDialog>
get confirm field value.
Sourcepub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
pub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
set confirm field value.
Sourcepub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
pub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
set confirm field value.
Sourcepub fn get_accessibility_label(&self) -> Option<&String>
pub fn get_accessibility_label(&self) -> Option<&String>
get accessibility_label field value.
Sourcepub fn set_accessibility_label(self, value: Option<impl Into<String>>) -> Self
pub fn set_accessibility_label(self, value: Option<impl Into<String>>) -> Self
set accessibility_label field value.
Sourcepub fn accessibility_label(self, value: impl Into<String>) -> Self
pub fn accessibility_label(self, value: impl Into<String>) -> Self
set accessibility_label field value.
Trait Implementations§
Source§impl Debug for ButtonBuilder
impl Debug for ButtonBuilder
Auto Trait Implementations§
impl Freeze for ButtonBuilder
impl RefUnwindSafe for ButtonBuilder
impl Send for ButtonBuilder
impl Sync for ButtonBuilder
impl Unpin for ButtonBuilder
impl UnsafeUnpin for ButtonBuilder
impl UnwindSafe for ButtonBuilder
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