#[repr(C)]pub struct FfiSelectedItem {
pub command_id: u32,
pub label: *mut c_char,
pub verb: *mut c_char,
}Expand description
Information about a selected context menu item.
Returned by wcm_show_context_menu. Must be freed with
wcm_free_selected.
Fields§
§command_id: u32The command ID of the selected item.
label: *mut c_charThe display label (UTF-8, heap-allocated). May be null.
verb: *mut c_charThe verb string (UTF-8, heap-allocated). Null if unavailable.
Auto Trait Implementations§
impl Freeze for FfiSelectedItem
impl RefUnwindSafe for FfiSelectedItem
impl !Send for FfiSelectedItem
impl !Sync for FfiSelectedItem
impl Unpin for FfiSelectedItem
impl UnsafeUnpin for FfiSelectedItem
impl UnwindSafe for FfiSelectedItem
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