#[repr(C)]pub struct UiButtonT {Show 13 fields
pub id: u64,
pub rect: RectT,
pub visible_rect: RectT,
pub icon: u32,
pub _padding_416: [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_426: [c_char; 1],
}Fields§
§id: u64§rect: RectT§visible_rect: RectT§icon: u32§_padding_416: [c_char; 4]§text: *const c_char§text_color: *const ColorSrgbT§tooltip: *const c_char§text_offset_y: f32§is_disabled: bool§hide_background: bool§hide_margins: bool§_padding_426: [c_char; 1]Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiButtonT
impl RefUnwindSafe for UiButtonT
impl !Send for UiButtonT
impl !Sync for UiButtonT
impl Unpin for UiButtonT
impl UnwindSafe for UiButtonT
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