pub struct ContextMenuResponse {
pub inner: DropdownMenuResponse,
}Expand description
Context menu response
Fields§
§inner: DropdownMenuResponseThe underlying dropdown menu response
Methods from Deref<Target = DropdownMenuResponse>§
Sourcepub fn is_selected(&self, index: usize) -> bool
pub fn is_selected(&self, index: usize) -> bool
Check if a specific item index was selected
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextMenuResponse
impl !RefUnwindSafe for ContextMenuResponse
impl Send for ContextMenuResponse
impl Sync for ContextMenuResponse
impl Unpin for ContextMenuResponse
impl UnsafeUnpin for ContextMenuResponse
impl !UnwindSafe for ContextMenuResponse
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