pub struct CommandPoolResetFlags(/* private fields */);
Expand description
Bitmask controlling behavior of a command pool reset.
Implementations§
Source§impl CommandPoolResetFlags
impl CommandPoolResetFlags
Sourcepub const fn bits(&self) -> VkCommandPoolResetFlags
pub const fn bits(&self) -> VkCommandPoolResetFlags
Returns bits in this flags
Sourcepub const fn has_any(self, other: Self) -> bool
pub const fn has_any(self, other: Self) -> bool
Returns true if any of specified bits are contained in this flag.
Source§impl CommandPoolResetFlags
impl CommandPoolResetFlags
Sourcepub const RELEASE_RESOURCES: Self
pub const RELEASE_RESOURCES: Self
Resetting a command pool recycles all of the resources from the command pool back to the system.
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 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 From<CommandPoolResetFlags> for VkCommandPoolResetFlags
impl From<CommandPoolResetFlags> for VkCommandPoolResetFlags
Source§fn from(value: CommandPoolResetFlags) -> Self
fn from(value: CommandPoolResetFlags) -> Self
Converts to this type from the input type.
Source§impl Not for CommandPoolResetFlags
impl Not for CommandPoolResetFlags
Source§impl PartialEq for CommandPoolResetFlags
impl PartialEq for CommandPoolResetFlags
impl 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