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