Struct vulkano::pipeline::PipelineCreateFlags
source · pub struct PipelineCreateFlags(/* private fields */);
Expand description
Flags specifying additional properties of a pipeline.
Implementations§
source§impl PipelineCreateFlags
impl PipelineCreateFlags
sourcepub const DISABLE_OPTIMIZATION: Self = _
pub const DISABLE_OPTIMIZATION: Self = _
The pipeline will not be optimized.
sourcepub const ALLOW_DERIVATIVES: Self = _
pub const ALLOW_DERIVATIVES: Self = _
Derivative pipelines can be created using this pipeline as a base.
sourcepub const DERIVATIVE: Self = _
pub const DERIVATIVE: Self = _
Create the pipeline by deriving from a base pipeline.
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a PipelineCreateFlags
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 PipelineCreateFlags
impl BitAnd for PipelineCreateFlags
source§impl BitAndAssign for PipelineCreateFlags
impl BitAndAssign for PipelineCreateFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for PipelineCreateFlags
impl BitOr for PipelineCreateFlags
source§impl BitOrAssign for PipelineCreateFlags
impl BitOrAssign for PipelineCreateFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for PipelineCreateFlags
impl BitXor for PipelineCreateFlags
source§impl BitXorAssign for PipelineCreateFlags
impl BitXorAssign for PipelineCreateFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for PipelineCreateFlags
impl Clone for PipelineCreateFlags
source§fn clone(&self) -> PipelineCreateFlags
fn clone(&self) -> PipelineCreateFlags
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 PipelineCreateFlags
impl Debug for PipelineCreateFlags
source§impl Default for PipelineCreateFlags
impl Default for PipelineCreateFlags
source§impl From<PipelineCreateFlags> for PipelineCreateFlags
impl From<PipelineCreateFlags> for PipelineCreateFlags
source§fn from(val: PipelineCreateFlags) -> Self
fn from(val: PipelineCreateFlags) -> Self
Converts to this type from the input type.
source§impl From<PipelineCreateFlags> for PipelineCreateFlags
impl From<PipelineCreateFlags> for PipelineCreateFlags
source§fn from(val: PipelineCreateFlags) -> Self
fn from(val: PipelineCreateFlags) -> Self
Converts to this type from the input type.
source§impl Hash for PipelineCreateFlags
impl Hash for PipelineCreateFlags
source§impl PartialEq for PipelineCreateFlags
impl PartialEq for PipelineCreateFlags
source§fn eq(&self, other: &PipelineCreateFlags) -> bool
fn eq(&self, other: &PipelineCreateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for PipelineCreateFlags
impl Sub for PipelineCreateFlags
source§impl SubAssign for PipelineCreateFlags
impl SubAssign for PipelineCreateFlags
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for PipelineCreateFlags
impl Eq for PipelineCreateFlags
impl StructuralEq for PipelineCreateFlags
impl StructuralPartialEq for PipelineCreateFlags
Auto Trait Implementations§
impl RefUnwindSafe for PipelineCreateFlags
impl Send for PipelineCreateFlags
impl Sync for PipelineCreateFlags
impl Unpin for PipelineCreateFlags
impl UnwindSafe for PipelineCreateFlags
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