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