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