#[repr(C)]pub struct tm_ui_button_t {
pub id: u64,
pub rect: tm_rect_t,
pub is_disabled: bool,
pub hide_background: bool,
pub hide_margins: bool,
pub _padding_396: [i8; 5],
pub text: *const i8,
pub text_color: *const tm_color_srgb_t,
pub tooltip: *const i8,
pub text_offset_y: f32,
pub _padding_401: [i8; 4],
}Fields§
§id: u64§rect: tm_rect_t§is_disabled: bool§hide_background: bool§hide_margins: bool§_padding_396: [i8; 5]§text: *const i8§text_color: *const tm_color_srgb_t§tooltip: *const i8§text_offset_y: f32§_padding_401: [i8; 4]Trait Implementations§
Source§fn clone(&self) -> tm_ui_button_t
fn clone(&self) -> tm_ui_button_t
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