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

#[repr(C)]
pub struct UiButtonT {
Show 13 fields pub id: u64, pub rect: RectT, pub visible_rect: RectT, pub icon: u32, pub _padding_407: [c_char; 4], pub text: *const c_char, pub text_color: *const ColorSrgbT, pub tooltip: *const c_char, pub text_offset_y: f32, pub is_disabled: bool, pub hide_background: bool, pub hide_margins: bool, pub _padding_417: [c_char; 1],
}

Fields

id: u64rect: RectTvisible_rect: RectTicon: u32_padding_407: [c_char; 4]text: *const c_chartext_color: *const ColorSrgbTtooltip: *const c_chartext_offset_y: f32is_disabled: boolhide_background: boolhide_margins: bool_padding_417: [c_char; 1]

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.