#[repr(C)]pub struct MenuItem {
pub type_name: MenuType,
pub id: c_uint,
pub text: [c_char; 128],
pub icon: [c_char; 128],
}
Fields§
§type_name: MenuType
§id: c_uint
§text: [c_char; 128]
§icon: [c_char; 128]
Auto Trait Implementations§
impl Freeze for MenuItem
impl RefUnwindSafe for MenuItem
impl Send for MenuItem
impl Sync for MenuItem
impl Unpin for MenuItem
impl UnwindSafe for MenuItem
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