#[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 duplicate 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§impl PartialOrd for ContextReleaseBehavior
impl PartialOrd for ContextReleaseBehavior
impl Copy for ContextReleaseBehavior
impl Eq for ContextReleaseBehavior
impl StructuralPartialEq for ContextReleaseBehavior
Auto Trait Implementations§
impl Freeze for ContextReleaseBehavior
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more