Enum glfw::ContextReleaseBehavior
source · #[repr(i32)]pub enum ContextReleaseBehavior {
Any = 0,
Flush = 217_089,
None = 217_090,
}
Expand description
ContextReleaseBehavior
specifies the release behavior to be used by the context.
Variants§
Any = 0
Flush = 217_089
Flush
tells the context to flush the pipeline whenever the context is released from being the current one.
None = 217_090
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 for ContextReleaseBehavior
impl PartialEq 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 for ContextReleaseBehavior
impl PartialOrd 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 moreimpl Copy for ContextReleaseBehavior
impl Eq for ContextReleaseBehavior
impl StructuralPartialEq for ContextReleaseBehavior
Auto Trait Implementations§
impl RefUnwindSafe for ContextReleaseBehavior
impl Send for ContextReleaseBehavior
impl Sync for ContextReleaseBehavior
impl Unpin for ContextReleaseBehavior
impl UnwindSafe for ContextReleaseBehavior
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more