pub struct OverflowMenuBuilder { /* private fields */ }Expand description
Builder for OverflowMenu object.
Implementations§
Source§impl OverflowMenuBuilder
impl OverflowMenuBuilder
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_options(&self) -> Option<&[Opt<Text<Plain>, UrlAvailable>]>
pub fn get_options(&self) -> Option<&[Opt<Text<Plain>, UrlAvailable>]>
get options field value.
Sourcepub fn set_options(
self,
value: Option<impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>>,
) -> Self
pub fn set_options( self, value: Option<impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>>, ) -> Self
set options field value.
Sourcepub fn options(
self,
value: impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>,
) -> Self
pub fn options( self, value: impl Into<Vec<Opt<Text<Plain>, UrlAvailable>>>, ) -> Self
set options field value.
Sourcepub fn option(self, value: impl Into<Opt<Text<Plain>, UrlAvailable>>) -> Self
pub fn option(self, value: impl Into<Opt<Text<Plain>, UrlAvailable>>) -> Self
push list element to options field.
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 build(self) -> Result<OverflowMenu, ValidationErrors>
pub fn build(self) -> Result<OverflowMenu, ValidationErrors>
build OverflowMenu object.
Trait Implementations§
Source§impl Debug for OverflowMenuBuilder
impl Debug for OverflowMenuBuilder
Auto Trait Implementations§
impl Freeze for OverflowMenuBuilder
impl RefUnwindSafe for OverflowMenuBuilder
impl Send for OverflowMenuBuilder
impl Sync for OverflowMenuBuilder
impl Unpin for OverflowMenuBuilder
impl UnsafeUnpin for OverflowMenuBuilder
impl UnwindSafe for OverflowMenuBuilder
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