#[repr(C)]pub struct MenuTO { /* private fields */ }
Expand description
Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
Implementations§
Source§impl MenuTO
impl MenuTO
Return the list of items for the sub menu (or the main menu of parent is None)
Sourcepub fn get_vtable(&self) -> &MenuVTable
pub fn get_vtable(&self) -> &MenuVTable
Returns a reference to the VTable