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