Struct imgui_sdl2::ImguiSdl2
source · pub struct ImguiSdl2 { /* private fields */ }
Implementations§
source§impl ImguiSdl2
impl ImguiSdl2
pub fn new(imgui: &mut Context, window: &Window) -> Self
pub fn ignore_event(&self, event: &Event) -> bool
pub fn handle_event(&mut self, imgui: &mut Context, event: &Event)
pub fn prepare_frame( &mut self, io: &mut Io, window: &Window, mouse_state: &MouseState )
pub fn prepare_render(&mut self, ui: &Ui, window: &Window)
Auto Trait Implementations§
impl RefUnwindSafe for ImguiSdl2
impl !Send for ImguiSdl2
impl !Sync for ImguiSdl2
impl Unpin for ImguiSdl2
impl UnwindSafe for ImguiSdl2
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