Trait grafix_toolbox::uses::GL::window::WindowPolicy [−][src]
pub trait WindowPolicy {
fn size() -> uVec2;
fn aspect() -> Vec2;
fn pixel() -> Vec2;
unsafe fn clipboard(&self) -> String;
fn set_clipboard(&mut self, str: &str);
fn resize(&mut self, size: uVec2);
fn spawn_offhand_gl<F: 'static + Send + FnOnce()>(
&mut self,
f: F
) -> JoinHandle<Res<()>>;
fn draw_to_screen(&mut self);
fn poll_events(&mut self) -> Vec<Event>ⓘ;
fn swap(&mut self);
}Required methods
fn set_clipboard(&mut self, str: &str)fn spawn_offhand_gl<F: 'static + Send + FnOnce()>(
&mut self,
f: F
) -> JoinHandle<Res<()>>fn draw_to_screen(&mut self)fn poll_events(&mut self) -> Vec<Event>ⓘ