[][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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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