Struct vulkano::pipeline::cache::PipelineCacheCreateFlags
source · pub struct PipelineCacheCreateFlags(/* private fields */);
Expand description
Flags specifying additional properties of a pipeline cache.
Implementations§
source§impl PipelineCacheCreateFlags
impl PipelineCacheCreateFlags
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a PipelineCacheCreateFlags
with none of the flags set.
sourcepub const fn intersects(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
Returns whether any flags are set in both self
and other
.
sourcepub const fn contains(self, other: Self) -> bool
pub const fn contains(self, other: Self) -> bool
Returns whether all flags in other
are set in self
.
sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
Returns the intersection of self
and other
.
sourcepub const fn difference(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
Returns self
without the flags set in other
.
sourcepub const fn symmetric_difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
Returns the flags that are set in self
or other
, but not in both.
Trait Implementations§
source§impl BitAnd for PipelineCacheCreateFlags
impl BitAnd for PipelineCacheCreateFlags
source§impl BitAndAssign for PipelineCacheCreateFlags
impl BitAndAssign for PipelineCacheCreateFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for PipelineCacheCreateFlags
impl BitOr for PipelineCacheCreateFlags
source§impl BitOrAssign for PipelineCacheCreateFlags
impl BitOrAssign for PipelineCacheCreateFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for PipelineCacheCreateFlags
impl BitXor for PipelineCacheCreateFlags
source§impl BitXorAssign for PipelineCacheCreateFlags
impl BitXorAssign for PipelineCacheCreateFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for PipelineCacheCreateFlags
impl Clone for PipelineCacheCreateFlags
source§fn clone(&self) -> PipelineCacheCreateFlags
fn clone(&self) -> PipelineCacheCreateFlags
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 PipelineCacheCreateFlags
impl Debug for PipelineCacheCreateFlags
source§impl Default for PipelineCacheCreateFlags
impl Default for PipelineCacheCreateFlags
source§impl From<PipelineCacheCreateFlags> for PipelineCacheCreateFlags
impl From<PipelineCacheCreateFlags> for PipelineCacheCreateFlags
source§fn from(val: PipelineCacheCreateFlags) -> Self
fn from(val: PipelineCacheCreateFlags) -> Self
Converts to this type from the input type.
source§impl From<PipelineCacheCreateFlags> for PipelineCacheCreateFlags
impl From<PipelineCacheCreateFlags> for PipelineCacheCreateFlags
source§fn from(val: PipelineCacheCreateFlags) -> Self
fn from(val: PipelineCacheCreateFlags) -> Self
Converts to this type from the input type.
source§impl Hash for PipelineCacheCreateFlags
impl Hash for PipelineCacheCreateFlags
source§impl PartialEq for PipelineCacheCreateFlags
impl PartialEq for PipelineCacheCreateFlags
source§fn eq(&self, other: &PipelineCacheCreateFlags) -> bool
fn eq(&self, other: &PipelineCacheCreateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for PipelineCacheCreateFlags
impl Sub for PipelineCacheCreateFlags
source§impl SubAssign for PipelineCacheCreateFlags
impl SubAssign for PipelineCacheCreateFlags
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for PipelineCacheCreateFlags
impl Eq for PipelineCacheCreateFlags
impl StructuralEq for PipelineCacheCreateFlags
impl StructuralPartialEq for PipelineCacheCreateFlags
Auto Trait Implementations§
impl RefUnwindSafe for PipelineCacheCreateFlags
impl Send for PipelineCacheCreateFlags
impl Sync for PipelineCacheCreateFlags
impl Unpin for PipelineCacheCreateFlags
impl UnwindSafe for PipelineCacheCreateFlags
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