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