Struct easy_imgui_sys::ImGuiSettingsHandler
source · #[repr(C)]pub struct ImGuiSettingsHandler {
pub TypeName: *const c_char,
pub TypeHash: ImGuiID,
pub ClearAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>,
pub ReadInitFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>,
pub ReadOpenFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, name: *const c_char) -> *mut c_void>,
pub ReadLineFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, entry: *mut c_void, line: *const c_char)>,
pub ApplyAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>,
pub WriteAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, out_buf: *mut ImGuiTextBuffer)>,
pub UserData: *mut c_void,
}Fields§
§TypeName: *const c_char§TypeHash: ImGuiID§ClearAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>§ReadInitFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>§ReadOpenFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, name: *const c_char) -> *mut c_void>§ReadLineFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, entry: *mut c_void, line: *const c_char)>§ApplyAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler)>§WriteAllFn: Option<unsafe extern "C" fn(ctx: *mut ImGuiContext, handler: *mut ImGuiSettingsHandler, out_buf: *mut ImGuiTextBuffer)>§UserData: *mut c_voidTrait Implementations§
source§impl Clone for ImGuiSettingsHandler
impl Clone for ImGuiSettingsHandler
source§fn clone(&self) -> ImGuiSettingsHandler
fn clone(&self) -> ImGuiSettingsHandler
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 moresource§impl Debug for ImGuiSettingsHandler
impl Debug for ImGuiSettingsHandler
impl Copy for ImGuiSettingsHandler
Auto Trait Implementations§
impl Freeze for ImGuiSettingsHandler
impl RefUnwindSafe for ImGuiSettingsHandler
impl !Send for ImGuiSettingsHandler
impl !Sync for ImGuiSettingsHandler
impl Unpin for ImGuiSettingsHandler
impl UnwindSafe for ImGuiSettingsHandler
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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)