Struct machinery_api::plugins::ui::UiIconApi [−][src]
#[repr(C)]pub struct UiIconApi { pub label: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, c: *const UiIconLabelT) -> RectT>, pub text: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, c: *const UiIconTextT) -> RectT>, pub metrics: Option<unsafe extern "C" fn(ui: *mut UiO, font_scale: f32, icon: UiIcon) -> RectT>, pub codepoint: Option<unsafe extern "C" fn(icon: UiIcon) -> u32>, pub glyph: Option<unsafe extern "C" fn(ui: *mut UiO, icon: UiIcon) -> u16>, pub draw: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, color: *mut ColorSrgbT, pos: Vec2T, icon: UiIcon) -> f32>, }
Fields
label: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, c: *const UiIconLabelT) -> RectT>text: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, c: *const UiIconTextT) -> RectT>metrics: Option<unsafe extern "C" fn(ui: *mut UiO, font_scale: f32, icon: UiIcon) -> RectT>codepoint: Option<unsafe extern "C" fn(icon: UiIcon) -> u32>glyph: Option<unsafe extern "C" fn(ui: *mut UiO, icon: UiIcon) -> u16>draw: Option<unsafe extern "C" fn(ui: *mut UiO, style: *const UiStyleT, color: *mut ColorSrgbT, pos: Vec2T, icon: UiIcon) -> f32>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UiIconApi
impl UnwindSafe for UiIconApi
Blanket Implementations
Mutably borrows from an owned value. Read more