Enum glfw::ContextReleaseBehavior
source · #[repr(i32)]
pub enum ContextReleaseBehavior {
Any,
Flush,
None,
}
Expand description
ContextReleaseBehavior
specifies the release behavior to be used by the context.
Variants§
Any
Flush
Flush
tells the context to flush the pipeline whenever the context is released from being the current one.
None
None
tells the context to NOT flush the pipeline on release
Trait Implementations§
source§impl Clone for ContextReleaseBehavior
impl Clone for ContextReleaseBehavior
source§fn clone(&self) -> ContextReleaseBehavior
fn clone(&self) -> ContextReleaseBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContextReleaseBehavior
impl Debug for ContextReleaseBehavior
source§impl Hash for ContextReleaseBehavior
impl Hash for ContextReleaseBehavior
source§impl Ord for ContextReleaseBehavior
impl Ord for ContextReleaseBehavior
source§fn cmp(&self, other: &ContextReleaseBehavior) -> Ordering
fn cmp(&self, other: &ContextReleaseBehavior) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ContextReleaseBehavior> for ContextReleaseBehavior
impl PartialEq<ContextReleaseBehavior> for ContextReleaseBehavior
source§fn eq(&self, other: &ContextReleaseBehavior) -> bool
fn eq(&self, other: &ContextReleaseBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ContextReleaseBehavior> for ContextReleaseBehavior
impl PartialOrd<ContextReleaseBehavior> for ContextReleaseBehavior
source§fn partial_cmp(&self, other: &ContextReleaseBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &ContextReleaseBehavior) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more