#[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§
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