Enum imageflow::CleanupWith
[−]
[src]
#[repr(C)]pub enum CleanupWith { Context, FirstJob, }
When a resource should be closed/freed/cleaned up
Variants
Context
When the context is destroyed
FirstJob
When the first job that the item is associated with is destroyed. (Not yet implemented)
Trait Implementations
impl Clone for CleanupWith
[src]
fn clone(&self) -> CleanupWith
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for CleanupWith
[src]
impl PartialEq for CleanupWith
[src]
fn eq(&self, __arg_0: &CleanupWith) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.