#[non_exhaustive]pub struct ContextMenuOptionBuilder { /* private fields */ }Expand description
A builder for ContextMenuOption.
Implementations§
source§impl ContextMenuOptionBuilder
impl ContextMenuOptionBuilder
sourcepub fn availability_status(self, input: DashboardBehavior) -> Self
pub fn availability_status(self, input: DashboardBehavior) -> Self
The availability status of the context menu options. If the value of this property is set to ENABLED, dashboard readers can interact with the context menu.
sourcepub fn set_availability_status(self, input: Option<DashboardBehavior>) -> Self
pub fn set_availability_status(self, input: Option<DashboardBehavior>) -> Self
The availability status of the context menu options. If the value of this property is set to ENABLED, dashboard readers can interact with the context menu.
sourcepub fn get_availability_status(&self) -> &Option<DashboardBehavior>
pub fn get_availability_status(&self) -> &Option<DashboardBehavior>
The availability status of the context menu options. If the value of this property is set to ENABLED, dashboard readers can interact with the context menu.
sourcepub fn build(self) -> ContextMenuOption
pub fn build(self) -> ContextMenuOption
Consumes the builder and constructs a ContextMenuOption.
Trait Implementations§
source§impl Clone for ContextMenuOptionBuilder
impl Clone for ContextMenuOptionBuilder
source§fn clone(&self) -> ContextMenuOptionBuilder
fn clone(&self) -> ContextMenuOptionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ContextMenuOptionBuilder
impl Debug for ContextMenuOptionBuilder
source§impl Default for ContextMenuOptionBuilder
impl Default for ContextMenuOptionBuilder
source§fn default() -> ContextMenuOptionBuilder
fn default() -> ContextMenuOptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContextMenuOptionBuilder
impl PartialEq for ContextMenuOptionBuilder
source§fn eq(&self, other: &ContextMenuOptionBuilder) -> bool
fn eq(&self, other: &ContextMenuOptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContextMenuOptionBuilder
Auto Trait Implementations§
impl Freeze for ContextMenuOptionBuilder
impl RefUnwindSafe for ContextMenuOptionBuilder
impl Send for ContextMenuOptionBuilder
impl Sync for ContextMenuOptionBuilder
impl Unpin for ContextMenuOptionBuilder
impl UnwindSafe for ContextMenuOptionBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.