Struct vulkano::command_buffer::pool::CommandPoolResetFlags
source · 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: Self = _
pub const RELEASE_RESOURCES: Self = _
A hint to the implementation that it should free all the memory internally allocated for this pool.
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a CommandPoolResetFlags
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 CommandPoolResetFlags
impl BitAnd for CommandPoolResetFlags
source§impl BitAndAssign for CommandPoolResetFlags
impl BitAndAssign for CommandPoolResetFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for CommandPoolResetFlags
impl BitOr for CommandPoolResetFlags
source§impl BitOrAssign for CommandPoolResetFlags
impl BitOrAssign for CommandPoolResetFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for CommandPoolResetFlags
impl BitXor for CommandPoolResetFlags
source§impl BitXorAssign for CommandPoolResetFlags
impl BitXorAssign for CommandPoolResetFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for CommandPoolResetFlags
impl Clone for CommandPoolResetFlags
source§fn clone(&self) -> CommandPoolResetFlags
fn clone(&self) -> CommandPoolResetFlags
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 CommandPoolResetFlags
impl Debug for CommandPoolResetFlags
source§impl Default for CommandPoolResetFlags
impl Default for CommandPoolResetFlags
source§impl From<CommandPoolResetFlags> for CommandPoolResetFlags
impl From<CommandPoolResetFlags> for CommandPoolResetFlags
source§fn from(val: CommandPoolResetFlags) -> Self
fn from(val: CommandPoolResetFlags) -> Self
Converts to this type from the input type.
source§impl From<CommandPoolResetFlags> for CommandPoolResetFlags
impl From<CommandPoolResetFlags> for CommandPoolResetFlags
source§fn from(val: CommandPoolResetFlags) -> Self
fn from(val: CommandPoolResetFlags) -> Self
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§fn eq(&self, other: &CommandPoolResetFlags) -> bool
fn eq(&self, other: &CommandPoolResetFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for CommandPoolResetFlags
impl Sub for CommandPoolResetFlags
source§impl SubAssign for CommandPoolResetFlags
impl SubAssign for CommandPoolResetFlags
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for CommandPoolResetFlags
impl Eq for CommandPoolResetFlags
impl StructuralEq for CommandPoolResetFlags
impl StructuralPartialEq for CommandPoolResetFlags
Auto Trait Implementations§
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