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 !Send for ImguiSdl2
impl !Sync for ImguiSdl2
impl Freeze for ImguiSdl2
impl RefUnwindSafe for ImguiSdl2
impl Unpin for ImguiSdl2
impl UnsafeUnpin 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