Trait e2rcore::interface::i_window::IWindow
[−]
[src]
pub trait IWindow<EventType> {
fn init(dimx: u64, dimy: u64) -> Self;
fn make_current(&self) -> Result<(), &'static str>;
fn handle_events<F>(&mut self, cb: F)
where
F: FnMut(EventType);
fn swap_buf(&self);
}
Required Methods
fn init(dimx: u64, dimy: u64) -> Self
fn make_current(&self) -> Result<(), &'static str>
fn handle_events<F>(&mut self, cb: F) where
F: FnMut(EventType),
F: FnMut(EventType),
fn swap_buf(&self)
Implementors
impl IWindow<Event> for WinGlutin