Trait grafix_toolbox::lib::GL::window::WindowSpec
source · pub trait WindowSpec {
// Required methods
unsafe fn clipboard(&self) -> String;
fn set_clipboard(&mut self, str: &str);
fn set_vsync(&mut self, enabled: bool);
fn resize(&mut self, size: uVec2);
fn spawn_offhand_gl(
&mut self,
_: impl FnOnce() + SendStat,
) -> JoinHandle<()>;
fn poll_events(&mut self) -> Vec<Event>;
fn swap(&mut self);
}Required Methods§
unsafe fn clipboard(&self) -> String
fn set_clipboard(&mut self, str: &str)
fn set_vsync(&mut self, enabled: bool)
fn resize(&mut self, size: uVec2)
fn spawn_offhand_gl(&mut self, _: impl FnOnce() + SendStat) -> JoinHandle<()>
fn poll_events(&mut self) -> Vec<Event>
fn swap(&mut self)
Object Safety§
This trait is not object safe.