#[repr(C)]pub struct UiMenuItemT {
pub text: *const c_char,
pub shortcut: *mut ShortcutI,
pub accelerator: *const c_char,
pub tooltip: *const c_char,
pub item_id: u64,
pub toggle: *mut bool,
pub is_checked: bool,
pub has_submenu: bool,
pub is_disabled: bool,
pub is_hidden: bool,
pub icon: u32,
}
Fields§
§text: *const c_char
§shortcut: *mut ShortcutI
§accelerator: *const c_char
§tooltip: *const c_char
§item_id: u64
§toggle: *mut bool
§is_checked: bool
§is_disabled: bool
§icon: u32
Trait Implementations§
Source§impl Clone for UiMenuItemT
impl Clone for UiMenuItemT
Source§fn clone(&self) -> UiMenuItemT
fn clone(&self) -> UiMenuItemT
Returns a duplicate 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 Default for UiMenuItemT
impl Default for UiMenuItemT
impl Copy for UiMenuItemT
Auto Trait Implementations§
impl Freeze for UiMenuItemT
impl RefUnwindSafe for UiMenuItemT
impl !Send for UiMenuItemT
impl !Sync for UiMenuItemT
impl Unpin for UiMenuItemT
impl UnwindSafe for UiMenuItemT
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