Struct glium_graphics::GliumWindow
[−]
[src]
pub struct GliumWindow(_);
A window struct for glium.
Methods
impl GliumWindow
[src]
fn new<W>(window: &Rc<RefCell<W>>) -> Result<Self, GliumCreationError<()>> where W: OpenGLWindow + 'static
Creates new GliumWindow.
fn draw(&self) -> Frame
Returns new frame.
Trait Implementations
impl Clone for GliumWindow
[src]
fn clone(&self) -> GliumWindow
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Facade for GliumWindow
[src]
fn get_context(&self) -> &Rc<Context>
Returns an opaque type that contains the OpenGL state, extensions, version, etc.