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

impl Copy for ReleaseBehavior[src]

impl Debug for ReleaseBehavior[src][+]

impl Eq for ReleaseBehavior[src]

impl PartialEq<ReleaseBehavior> for ReleaseBehavior[src][+]

impl StructuralEq for ReleaseBehavior[src]

impl StructuralPartialEq for ReleaseBehavior[src]

Auto Trait Implementations

impl RefUnwindSafe for ReleaseBehavior

impl Send for ReleaseBehavior

impl Sync for ReleaseBehavior

impl Unpin for ReleaseBehavior

impl UnwindSafe for ReleaseBehavior

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

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.