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