pub struct QueueCreateFlags(/* private fields */);Expand description
Flags specifying additional properties of a queue.
Implementations§
Source§impl QueueCreateFlags
impl QueueCreateFlags
pub const PROTECTED: QueueCreateFlags
Sourcepub const fn empty() -> QueueCreateFlags
pub const fn empty() -> QueueCreateFlags
Returns a QueueCreateFlags with none of the flags set.
Sourcepub const fn none() -> QueueCreateFlags
👎Deprecated since 0.31.0: use empty instead
pub const fn none() -> QueueCreateFlags
empty insteadReturns a QueueCreateFlags with none of the flags set.
Sourcepub const fn intersects(self, other: QueueCreateFlags) -> bool
pub const fn intersects(self, other: QueueCreateFlags) -> bool
Returns whether any flags are set in both self and other.
Sourcepub const fn contains(self, other: QueueCreateFlags) -> bool
pub const fn contains(self, other: QueueCreateFlags) -> bool
Returns whether all flags in other are set in self.
Sourcepub const fn union(self, other: QueueCreateFlags) -> QueueCreateFlags
pub const fn union(self, other: QueueCreateFlags) -> QueueCreateFlags
Returns the union of self and other.
Sourcepub const fn intersection(self, other: QueueCreateFlags) -> QueueCreateFlags
pub const fn intersection(self, other: QueueCreateFlags) -> QueueCreateFlags
Returns the intersection of self and other.
Sourcepub const fn difference(self, other: QueueCreateFlags) -> QueueCreateFlags
pub const fn difference(self, other: QueueCreateFlags) -> QueueCreateFlags
Returns self without the flags set in other.
Sourcepub const fn symmetric_difference(
self,
other: QueueCreateFlags,
) -> QueueCreateFlags
pub const fn symmetric_difference( self, other: QueueCreateFlags, ) -> QueueCreateFlags
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§type Output = QueueCreateFlags
type Output = QueueCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: QueueCreateFlags) -> QueueCreateFlags
fn bitand(self, rhs: QueueCreateFlags) -> QueueCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for QueueCreateFlags
impl BitAndAssign for QueueCreateFlags
Source§fn bitand_assign(&mut self, rhs: QueueCreateFlags)
fn bitand_assign(&mut self, rhs: QueueCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for QueueCreateFlags
impl BitOr for QueueCreateFlags
Source§type Output = QueueCreateFlags
type Output = QueueCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: QueueCreateFlags) -> QueueCreateFlags
fn bitor(self, rhs: QueueCreateFlags) -> QueueCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for QueueCreateFlags
impl BitOrAssign for QueueCreateFlags
Source§fn bitor_assign(&mut self, rhs: QueueCreateFlags)
fn bitor_assign(&mut self, rhs: QueueCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for QueueCreateFlags
impl BitXor for QueueCreateFlags
Source§type Output = QueueCreateFlags
type Output = QueueCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: QueueCreateFlags) -> QueueCreateFlags
fn bitxor(self, rhs: QueueCreateFlags) -> QueueCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for QueueCreateFlags
impl BitXorAssign for QueueCreateFlags
Source§fn bitxor_assign(&mut self, rhs: QueueCreateFlags)
fn bitxor_assign(&mut self, rhs: QueueCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for QueueCreateFlags
impl Clone for QueueCreateFlags
Source§fn clone(&self) -> QueueCreateFlags
fn clone(&self) -> QueueCreateFlags
Returns a duplicate 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§fn default() -> QueueCreateFlags
fn default() -> QueueCreateFlags
Returns the “default value” for a type. Read more
Source§impl From<DeviceQueueCreateFlags> for QueueCreateFlags
impl From<DeviceQueueCreateFlags> for QueueCreateFlags
Source§fn from(val: DeviceQueueCreateFlags) -> QueueCreateFlags
fn from(val: DeviceQueueCreateFlags) -> QueueCreateFlags
Converts to this type from the input type.
Source§impl From<QueueCreateFlags> for DeviceQueueCreateFlags
impl From<QueueCreateFlags> for DeviceQueueCreateFlags
Source§fn from(val: QueueCreateFlags) -> DeviceQueueCreateFlags
fn from(val: QueueCreateFlags) -> DeviceQueueCreateFlags
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§impl Sub for QueueCreateFlags
impl Sub for QueueCreateFlags
Source§type Output = QueueCreateFlags
type Output = QueueCreateFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: QueueCreateFlags) -> QueueCreateFlags
fn sub(self, rhs: QueueCreateFlags) -> QueueCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for QueueCreateFlags
impl SubAssign for QueueCreateFlags
Source§fn sub_assign(&mut self, rhs: QueueCreateFlags)
fn sub_assign(&mut self, rhs: QueueCreateFlags)
Performs the
-= operation. Read moreimpl Copy for QueueCreateFlags
impl Eq for QueueCreateFlags
impl StructuralPartialEq for QueueCreateFlags
Auto Trait Implementations§
impl Freeze for QueueCreateFlags
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