pub struct CommandPoolCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl CommandPoolCreateFlags
impl CommandPoolCreateFlags
pub const fn empty() -> CommandPoolCreateFlags
pub const fn from_raw(x: u32) -> CommandPoolCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: CommandPoolCreateFlags) -> bool
Sourcepub const fn contains(self, other: CommandPoolCreateFlags) -> bool
pub const fn contains(self, other: CommandPoolCreateFlags) -> bool
Returns whether other is a subset of self
Source§impl CommandPoolCreateFlags
impl CommandPoolCreateFlags
Sourcepub const TRANSIENT: CommandPoolCreateFlags
pub const TRANSIENT: CommandPoolCreateFlags
Command buffers have a short lifetime
Sourcepub const RESET_COMMAND_BUFFER: CommandPoolCreateFlags
pub const RESET_COMMAND_BUFFER: CommandPoolCreateFlags
Command buffers may release their memory individually
Source§impl CommandPoolCreateFlags
Generated from ‘VK_VERSION_1_1’
impl CommandPoolCreateFlags
Generated from ‘VK_VERSION_1_1’
Sourcepub const PROTECTED: CommandPoolCreateFlags
pub const PROTECTED: CommandPoolCreateFlags
Command buffers allocated from pool are protected command buffers
Trait Implementations§
Source§impl BitAnd for CommandPoolCreateFlags
impl BitAnd for CommandPoolCreateFlags
Source§type Output = CommandPoolCreateFlags
type Output = CommandPoolCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn bitand(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for CommandPoolCreateFlags
impl BitAndAssign for CommandPoolCreateFlags
Source§fn bitand_assign(&mut self, rhs: CommandPoolCreateFlags)
fn bitand_assign(&mut self, rhs: CommandPoolCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for CommandPoolCreateFlags
impl BitOr for CommandPoolCreateFlags
Source§type Output = CommandPoolCreateFlags
type Output = CommandPoolCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn bitor(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for CommandPoolCreateFlags
impl BitOrAssign for CommandPoolCreateFlags
Source§fn bitor_assign(&mut self, rhs: CommandPoolCreateFlags)
fn bitor_assign(&mut self, rhs: CommandPoolCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for CommandPoolCreateFlags
impl BitXor for CommandPoolCreateFlags
Source§type Output = CommandPoolCreateFlags
type Output = CommandPoolCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn bitxor(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for CommandPoolCreateFlags
impl BitXorAssign for CommandPoolCreateFlags
Source§fn bitxor_assign(&mut self, rhs: CommandPoolCreateFlags)
fn bitxor_assign(&mut self, rhs: CommandPoolCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for CommandPoolCreateFlags
impl Clone for CommandPoolCreateFlags
Source§fn clone(&self) -> CommandPoolCreateFlags
fn clone(&self) -> CommandPoolCreateFlags
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 CommandPoolCreateFlags
impl Debug for CommandPoolCreateFlags
Source§impl Default for CommandPoolCreateFlags
impl Default for CommandPoolCreateFlags
Source§fn default() -> CommandPoolCreateFlags
fn default() -> CommandPoolCreateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for CommandPoolCreateFlags
impl Hash for CommandPoolCreateFlags
Source§impl Not for CommandPoolCreateFlags
impl Not for CommandPoolCreateFlags
Source§type Output = CommandPoolCreateFlags
type Output = CommandPoolCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> CommandPoolCreateFlags
fn not(self) -> CommandPoolCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for CommandPoolCreateFlags
impl Ord for CommandPoolCreateFlags
Source§fn cmp(&self, other: &CommandPoolCreateFlags) -> Ordering
fn cmp(&self, other: &CommandPoolCreateFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CommandPoolCreateFlags
impl PartialEq for CommandPoolCreateFlags
Source§impl PartialOrd for CommandPoolCreateFlags
impl PartialOrd for CommandPoolCreateFlags
impl Copy for CommandPoolCreateFlags
impl Eq for CommandPoolCreateFlags
impl StructuralPartialEq for CommandPoolCreateFlags
Auto Trait Implementations§
impl Freeze for CommandPoolCreateFlags
impl RefUnwindSafe for CommandPoolCreateFlags
impl Send for CommandPoolCreateFlags
impl Sync for CommandPoolCreateFlags
impl Unpin for CommandPoolCreateFlags
impl UnwindSafe for CommandPoolCreateFlags
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