#[repr(C)]pub struct tm_ui_modal_api {
pub message_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32) -> u32>,
pub progress_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32, Option<unsafe extern "C" fn(*mut c_void) -> f32>, *mut c_void) -> u32>,
pub textinput_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32, *mut i8, u32) -> u32>,
}Fields§
§message_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32) -> u32>§progress_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32, Option<unsafe extern "C" fn(*mut c_void) -> f32>, *mut c_void) -> u32>§textinput_box: Option<unsafe extern "C" fn(*const i8, *const i8, *mut *const i8, u32, *mut i8, u32) -> u32>Trait Implementations§
Source§impl Clone for tm_ui_modal_api
impl Clone for tm_ui_modal_api
Source§fn clone(&self) -> tm_ui_modal_api
fn clone(&self) -> tm_ui_modal_api
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 moreimpl Copy for tm_ui_modal_api
Auto Trait Implementations§
impl Freeze for tm_ui_modal_api
impl RefUnwindSafe for tm_ui_modal_api
impl Send for tm_ui_modal_api
impl Sync for tm_ui_modal_api
impl Unpin for tm_ui_modal_api
impl UnwindSafe for tm_ui_modal_api
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