Enum glutin::ReleaseBehavior [] [src]

pub enum ReleaseBehavior {
    None,
    Flush,
}

The behavior of the driver when you change the current context.

Variants

None

Doesn't do anything. Most notably doesn't flush.

Flush

Flushes the context that was previously current as if glFlush was called.

Trait Implementations

impl Eq for ReleaseBehavior
[src]

impl PartialEq for ReleaseBehavior
[src]

fn eq(&self, __arg_0: &ReleaseBehavior) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for ReleaseBehavior
[src]

fn clone(&self) -> ReleaseBehavior

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 Copy for ReleaseBehavior
[src]

impl Debug for ReleaseBehavior
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.