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
sourceimpl Clone for ContextReleaseBehavior
impl Clone for ContextReleaseBehavior
sourcefn clone(&self) -> ContextReleaseBehavior
fn clone(&self) -> ContextReleaseBehavior
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContextReleaseBehavior
impl Debug for ContextReleaseBehavior
sourceimpl Hash for ContextReleaseBehavior
impl Hash for ContextReleaseBehavior
sourceimpl Ord for ContextReleaseBehavior
impl Ord for ContextReleaseBehavior
sourceimpl PartialOrd<ContextReleaseBehavior> for ContextReleaseBehavior
impl PartialOrd<ContextReleaseBehavior> for ContextReleaseBehavior
sourcefn partial_cmp(&self, other: &ContextReleaseBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &ContextReleaseBehavior) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Copy for ContextReleaseBehavior
impl Eq for ContextReleaseBehavior
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more