Struct machinery_api::plugins::ui::ToolbarI[][src]

#[repr(C)]
pub struct ToolbarI {
Show 14 fields pub id: u64, pub owner: *mut c_void, pub display_name: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI) -> *const c_char>, pub ui: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI, ui: *mut UiO, uistyle: *const UiStyleT, toolbar_r: RectT, draw_mode: ToolbarDrawMode) -> RectT>, pub close: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI)>, pub custom_settings: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI, tm_ui_o: *mut UiO)>, pub default_container: ToolbarContainer, pub default_anchor: ToolbarAnchor, pub tool_ids: *const StrhashT, pub num_tool_ids: u32, pub flags: ToolbarFlags, pub overlay_default_size: Vec2T, pub fill_min_size: f32, pub draw_mode_mask: ToolbarDrawMode,
}

Fields

id: u64owner: *mut c_voiddisplay_name: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI) -> *const c_char>ui: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI, ui: *mut UiO, uistyle: *const UiStyleT, toolbar_r: RectT, draw_mode: ToolbarDrawMode) -> RectT>close: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI)>custom_settings: Option<unsafe extern "C" fn(toolbar: *mut ToolbarI, tm_ui_o: *mut UiO)>default_container: ToolbarContainerdefault_anchor: ToolbarAnchortool_ids: *const StrhashTnum_tool_ids: u32flags: ToolbarFlagsoverlay_default_size: Vec2Tfill_min_size: f32draw_mode_mask: ToolbarDrawMode

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.