pub struct CommandPoolResetFlags(/* private fields */);Expand description
Additional properties of the command pool reset operation.
Implementations§
Source§impl CommandPoolResetFlags
impl CommandPoolResetFlags
Sourcepub const RELEASE_RESOURCES: CommandPoolResetFlags
pub const RELEASE_RESOURCES: CommandPoolResetFlags
A hint to the implementation that it should free all the memory internally allocated for this pool.
Sourcepub const fn empty() -> CommandPoolResetFlags
pub const fn empty() -> CommandPoolResetFlags
Returns a CommandPoolResetFlags with none of the flags set.
Sourcepub const fn none() -> CommandPoolResetFlags
👎Deprecated since 0.31.0: use empty instead
pub const fn none() -> CommandPoolResetFlags
empty insteadReturns a CommandPoolResetFlags with none of the flags set.
Sourcepub const fn intersects(self, other: CommandPoolResetFlags) -> bool
pub const fn intersects(self, other: CommandPoolResetFlags) -> bool
Returns whether any flags are set in both self and other.
Sourcepub const fn contains(self, other: CommandPoolResetFlags) -> bool
pub const fn contains(self, other: CommandPoolResetFlags) -> bool
Returns whether all flags in other are set in self.
Sourcepub const fn union(self, other: CommandPoolResetFlags) -> CommandPoolResetFlags
pub const fn union(self, other: CommandPoolResetFlags) -> CommandPoolResetFlags
Returns the union of self and other.
Sourcepub const fn intersection(
self,
other: CommandPoolResetFlags,
) -> CommandPoolResetFlags
pub const fn intersection( self, other: CommandPoolResetFlags, ) -> CommandPoolResetFlags
Returns the intersection of self and other.
Sourcepub const fn difference(
self,
other: CommandPoolResetFlags,
) -> CommandPoolResetFlags
pub const fn difference( self, other: CommandPoolResetFlags, ) -> CommandPoolResetFlags
Returns self without the flags set in other.
Sourcepub const fn symmetric_difference(
self,
other: CommandPoolResetFlags,
) -> CommandPoolResetFlags
pub const fn symmetric_difference( self, other: CommandPoolResetFlags, ) -> CommandPoolResetFlags
Returns the flags that are set in self or other, but not in both.
Trait Implementations§
Source§impl BitAnd for CommandPoolResetFlags
impl BitAnd for CommandPoolResetFlags
Source§type Output = CommandPoolResetFlags
type Output = CommandPoolResetFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
fn bitand(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for CommandPoolResetFlags
impl BitAndAssign for CommandPoolResetFlags
Source§fn bitand_assign(&mut self, rhs: CommandPoolResetFlags)
fn bitand_assign(&mut self, rhs: CommandPoolResetFlags)
Performs the
&= operation. Read moreSource§impl BitOr for CommandPoolResetFlags
impl BitOr for CommandPoolResetFlags
Source§type Output = CommandPoolResetFlags
type Output = CommandPoolResetFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
fn bitor(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for CommandPoolResetFlags
impl BitOrAssign for CommandPoolResetFlags
Source§fn bitor_assign(&mut self, rhs: CommandPoolResetFlags)
fn bitor_assign(&mut self, rhs: CommandPoolResetFlags)
Performs the
|= operation. Read moreSource§impl BitXor for CommandPoolResetFlags
impl BitXor for CommandPoolResetFlags
Source§type Output = CommandPoolResetFlags
type Output = CommandPoolResetFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
fn bitxor(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for CommandPoolResetFlags
impl BitXorAssign for CommandPoolResetFlags
Source§fn bitxor_assign(&mut self, rhs: CommandPoolResetFlags)
fn bitxor_assign(&mut self, rhs: CommandPoolResetFlags)
Performs the
^= operation. Read moreSource§impl Clone for CommandPoolResetFlags
impl Clone for CommandPoolResetFlags
Source§fn clone(&self) -> CommandPoolResetFlags
fn clone(&self) -> CommandPoolResetFlags
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 CommandPoolResetFlags
impl Debug for CommandPoolResetFlags
Source§impl Default for CommandPoolResetFlags
impl Default for CommandPoolResetFlags
Source§fn default() -> CommandPoolResetFlags
fn default() -> CommandPoolResetFlags
Returns the “default value” for a type. Read more
Source§impl From<CommandPoolResetFlags> for CommandPoolResetFlags
impl From<CommandPoolResetFlags> for CommandPoolResetFlags
Source§fn from(val: CommandPoolResetFlags) -> CommandPoolResetFlags
fn from(val: CommandPoolResetFlags) -> CommandPoolResetFlags
Converts to this type from the input type.
Source§impl From<CommandPoolResetFlags> for CommandPoolResetFlags
impl From<CommandPoolResetFlags> for CommandPoolResetFlags
Source§fn from(val: CommandPoolResetFlags) -> CommandPoolResetFlags
fn from(val: CommandPoolResetFlags) -> CommandPoolResetFlags
Converts to this type from the input type.
Source§impl Hash for CommandPoolResetFlags
impl Hash for CommandPoolResetFlags
Source§impl PartialEq for CommandPoolResetFlags
impl PartialEq for CommandPoolResetFlags
Source§impl Sub for CommandPoolResetFlags
impl Sub for CommandPoolResetFlags
Source§type Output = CommandPoolResetFlags
type Output = CommandPoolResetFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
fn sub(self, rhs: CommandPoolResetFlags) -> CommandPoolResetFlags
Performs the
- operation. Read moreSource§impl SubAssign for CommandPoolResetFlags
impl SubAssign for CommandPoolResetFlags
Source§fn sub_assign(&mut self, rhs: CommandPoolResetFlags)
fn sub_assign(&mut self, rhs: CommandPoolResetFlags)
Performs the
-= operation. Read moreimpl Copy for CommandPoolResetFlags
impl Eq for CommandPoolResetFlags
impl StructuralPartialEq for CommandPoolResetFlags
Auto Trait Implementations§
impl Freeze for CommandPoolResetFlags
impl RefUnwindSafe for CommandPoolResetFlags
impl Send for CommandPoolResetFlags
impl Sync for CommandPoolResetFlags
impl Unpin for CommandPoolResetFlags
impl UnwindSafe for CommandPoolResetFlags
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