Struct ImGuiPlatformIO
#[repr(C)]pub struct ImGuiPlatformIO {Show 25 fields
pub Platform_CreateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_DestroyWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_ShowWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_SetWindowPos: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>,
pub Platform_GetWindowPos: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> ImVec2>,
pub Platform_SetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>,
pub Platform_GetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> ImVec2>,
pub Platform_SetWindowFocus: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_GetWindowFocus: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> bool>,
pub Platform_GetWindowMinimized: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> bool>,
pub Platform_SetWindowTitle: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *const i8)>,
pub Platform_SetWindowAlpha: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: f32)>,
pub Platform_UpdateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_RenderWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>,
pub Platform_SwapBuffers: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>,
pub Platform_GetWindowDpiScale: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> f32>,
pub Platform_OnChangedViewport: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Platform_CreateVkSurface: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: u64, _: *const c_void, _: *mut u64) -> i32>,
pub Renderer_CreateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Renderer_DestroyWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>,
pub Renderer_SetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>,
pub Renderer_RenderWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>,
pub Renderer_SwapBuffers: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>,
pub Monitors: ImVector_ImGuiPlatformMonitor,
pub Viewports: ImVector_ImGuiViewportPtr,
}Fields§
§Platform_CreateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_DestroyWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_ShowWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_SetWindowPos: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>§Platform_GetWindowPos: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> ImVec2>§Platform_SetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>§Platform_GetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> ImVec2>§Platform_SetWindowFocus: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_GetWindowFocus: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> bool>§Platform_GetWindowMinimized: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> bool>§Platform_SetWindowTitle: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *const i8)>§Platform_SetWindowAlpha: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: f32)>§Platform_UpdateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_RenderWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>§Platform_SwapBuffers: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>§Platform_GetWindowDpiScale: Option<unsafe extern "C" fn(_: *mut ImGuiViewport) -> f32>§Platform_OnChangedViewport: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Platform_CreateVkSurface: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: u64, _: *const c_void, _: *mut u64) -> i32>§Renderer_CreateWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Renderer_DestroyWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport)>§Renderer_SetWindowSize: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: ImVec2)>§Renderer_RenderWindow: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>§Renderer_SwapBuffers: Option<unsafe extern "C" fn(_: *mut ImGuiViewport, _: *mut c_void)>§Monitors: ImVector_ImGuiPlatformMonitor§Viewports: ImVector_ImGuiViewportPtrTrait Implementations§
§impl Clone for ImGuiPlatformIO
impl Clone for ImGuiPlatformIO
§fn clone(&self) -> ImGuiPlatformIO
fn clone(&self) -> ImGuiPlatformIO
Returns a copy 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 more§impl Debug for ImGuiPlatformIO
impl Debug for ImGuiPlatformIO
impl Copy for ImGuiPlatformIO
Auto Trait Implementations§
impl Freeze for ImGuiPlatformIO
impl RefUnwindSafe for ImGuiPlatformIO
impl !Send for ImGuiPlatformIO
impl !Sync for ImGuiPlatformIO
impl Unpin for ImGuiPlatformIO
impl UnwindSafe for ImGuiPlatformIO
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)