#[repr(C)]pub struct RenderGraphModuleEditorSubmenuI {
pub submenu_name: *const c_char,
pub inst: *mut c_void,
pub active: Option<unsafe extern "C" fn(inst: *mut c_void) -> bool>,
pub submenu: Option<unsafe extern "C" fn(inst: *mut c_void, ui: *mut UiO, uistyle: *const UiStyleT, submenu_pos: Vec2T)>,
pub draw_as_toolbar: Option<unsafe extern "C" fn() -> bool>,
}
Fields§
§inst: *mut c_void
§active: Option<unsafe extern "C" fn(inst: *mut c_void) -> bool>
§draw_as_toolbar: Option<unsafe extern "C" fn() -> bool>
Trait Implementations§
Source§fn clone(&self) -> RenderGraphModuleEditorSubmenuI
fn clone(&self) -> RenderGraphModuleEditorSubmenuI
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