[][src]Struct glfw::RenderContext

pub struct RenderContext { /* fields omitted */ }

A rendering context that can be shared between tasks.

Trait Implementations

impl Context for RenderContext
[src]

fn swap_buffers(&mut self)
[src]

Swaps the front and back buffers of the window. If the swap interval is greater than zero, the GPU driver waits the specified number of screen updates before swapping the buffers. Read more

fn is_current(&self) -> bool
[src]

Returns true if the window is the current context.

fn make_current(&mut self)
[src]

Wrapper for glfwMakeContextCurrent

impl Send for RenderContext
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]