Struct vulkano::descriptor_set::pool::DescriptorPoolCreateFlags
source · pub struct DescriptorPoolCreateFlags(/* private fields */);
Expand description
Flags specifying additional properties of a descriptor pool.
Implementations§
source§impl DescriptorPoolCreateFlags
impl DescriptorPoolCreateFlags
sourcepub const FREE_DESCRIPTOR_SET: Self = _
pub const FREE_DESCRIPTOR_SET: Self = _
Individual descriptor sets can be freed from the pool. Otherwise you must reset or destroy the whole pool at once.
sourcepub const UPDATE_AFTER_BIND: Self = _
pub const UPDATE_AFTER_BIND: Self = _
The pool can allocate descriptor sets with a layout whose flags include
DescriptorSetLayoutCreateFlags::UPDATE_AFTER_BIND_POOL
.
A pool created with this flag can still allocate descriptor sets without the flag.
However, descriptor copy operations are only allowed between pools of the same type;
it is not possible to copy between a descriptor set whose pool has UPDATE_AFTER_BIND
,
and a descriptor set whose pool does not have this flag.
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a DescriptorPoolCreateFlags
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 DescriptorPoolCreateFlags
impl BitAnd for DescriptorPoolCreateFlags
source§impl BitAndAssign for DescriptorPoolCreateFlags
impl BitAndAssign for DescriptorPoolCreateFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOr for DescriptorPoolCreateFlags
impl BitOr for DescriptorPoolCreateFlags
source§impl BitOrAssign for DescriptorPoolCreateFlags
impl BitOrAssign for DescriptorPoolCreateFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXor for DescriptorPoolCreateFlags
impl BitXor for DescriptorPoolCreateFlags
source§impl BitXorAssign for DescriptorPoolCreateFlags
impl BitXorAssign for DescriptorPoolCreateFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl Clone for DescriptorPoolCreateFlags
impl Clone for DescriptorPoolCreateFlags
source§fn clone(&self) -> DescriptorPoolCreateFlags
fn clone(&self) -> DescriptorPoolCreateFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescriptorPoolCreateFlags
impl Debug for DescriptorPoolCreateFlags
source§impl Default for DescriptorPoolCreateFlags
impl Default for DescriptorPoolCreateFlags
source§impl From<DescriptorPoolCreateFlags> for DescriptorPoolCreateFlags
impl From<DescriptorPoolCreateFlags> for DescriptorPoolCreateFlags
source§fn from(val: DescriptorPoolCreateFlags) -> Self
fn from(val: DescriptorPoolCreateFlags) -> Self
source§impl From<DescriptorPoolCreateFlags> for DescriptorPoolCreateFlags
impl From<DescriptorPoolCreateFlags> for DescriptorPoolCreateFlags
source§fn from(val: DescriptorPoolCreateFlags) -> Self
fn from(val: DescriptorPoolCreateFlags) -> Self
source§impl Hash for DescriptorPoolCreateFlags
impl Hash for DescriptorPoolCreateFlags
source§impl PartialEq for DescriptorPoolCreateFlags
impl PartialEq for DescriptorPoolCreateFlags
source§fn eq(&self, other: &DescriptorPoolCreateFlags) -> bool
fn eq(&self, other: &DescriptorPoolCreateFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Sub for DescriptorPoolCreateFlags
impl Sub for DescriptorPoolCreateFlags
source§impl SubAssign for DescriptorPoolCreateFlags
impl SubAssign for DescriptorPoolCreateFlags
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read more