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