#[repr(C)]pub struct UiApi {
pub send_alert: RawAlertNotify,
pub register_close_on_escape: RawGuiRegisterCloseOnEscape,
pub deregister_close_on_escape: RawGuiDeregisterCloseOnEscape,
}Fields§
§send_alert: RawAlertNotifySends a text alert to the user visible for a short amount of time.
register_close_on_escape: RawGuiRegisterCloseOnEscapeRegisters a window name to get its bool toggled when escape is pressed.
deregister_close_on_escape: RawGuiDeregisterCloseOnEscapeDeregisters a window name to listen to on escape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiApi
impl RefUnwindSafe for UiApi
impl Send for UiApi
impl Sync for UiApi
impl Unpin for UiApi
impl UnwindSafe for UiApi
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