#[repr(C)]pub struct tm_ui_menu_item_t {
pub text: *const c_char,
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 _padding_581: [c_char; 4],
}Fields§
§text: *const c_char§accelerator: *const c_char§tooltip: *const c_char§item_id: u64§toggle: *mut bool§is_checked: bool§is_disabled: bool§_padding_581: [c_char; 4]Trait Implementations§
Source§fn clone(&self) -> tm_ui_menu_item_t
fn clone(&self) -> tm_ui_menu_item_t
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 moreAuto Trait Implementations§
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