pub struct CommandPoolCreateFlags(/* private fields */);Expand description
Additional properties of the command pool.
Implementations§
Source§impl CommandPoolCreateFlags
impl CommandPoolCreateFlags
Sourcepub const TRANSIENT: CommandPoolCreateFlags
pub const TRANSIENT: CommandPoolCreateFlags
A hint to the implementation that the command buffers allocated from this pool will be short-lived.
Sourcepub const RESET_COMMAND_BUFFER: CommandPoolCreateFlags
pub const RESET_COMMAND_BUFFER: CommandPoolCreateFlags
Command buffers allocated from this pool can be reset individually.
Sourcepub const fn empty() -> CommandPoolCreateFlags
pub const fn empty() -> CommandPoolCreateFlags
Returns a CommandPoolCreateFlags with none of the flags set.
Sourcepub const fn none() -> CommandPoolCreateFlags
👎Deprecated since 0.31.0: use empty instead
pub const fn none() -> CommandPoolCreateFlags
empty insteadReturns a CommandPoolCreateFlags with none of the flags set.
Sourcepub const fn intersects(self, other: CommandPoolCreateFlags) -> bool
pub const fn intersects(self, other: CommandPoolCreateFlags) -> bool
Returns whether any flags are set in both self and other.
Sourcepub const fn contains(self, other: CommandPoolCreateFlags) -> bool
pub const fn contains(self, other: CommandPoolCreateFlags) -> bool
Returns whether all flags in other are set in self.
Sourcepub const fn union(
self,
other: CommandPoolCreateFlags,
) -> CommandPoolCreateFlags
pub const fn union( self, other: CommandPoolCreateFlags, ) -> CommandPoolCreateFlags
Returns the union of self and other.
Sourcepub const fn intersection(
self,
other: CommandPoolCreateFlags,
) -> CommandPoolCreateFlags
pub const fn intersection( self, other: CommandPoolCreateFlags, ) -> CommandPoolCreateFlags
Returns the intersection of self and other.
Sourcepub const fn difference(
self,
other: CommandPoolCreateFlags,
) -> CommandPoolCreateFlags
pub const fn difference( self, other: CommandPoolCreateFlags, ) -> CommandPoolCreateFlags
Returns self without the flags set in other.
Sourcepub const fn symmetric_difference(
self,
other: CommandPoolCreateFlags,
) -> CommandPoolCreateFlags
pub const fn symmetric_difference( self, other: CommandPoolCreateFlags, ) -> CommandPoolCreateFlags
Returns the flags that are set in self or other, but not in both.
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 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 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 From<CommandPoolCreateFlags> for CommandPoolCreateFlags
impl From<CommandPoolCreateFlags> for CommandPoolCreateFlags
Source§fn from(val: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn from(val: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Converts to this type from the input type.
Source§impl From<CommandPoolCreateFlags> for CommandPoolCreateFlags
impl From<CommandPoolCreateFlags> for CommandPoolCreateFlags
Source§fn from(val: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn from(val: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Converts to this type from the input type.
Source§impl Hash for CommandPoolCreateFlags
impl Hash for CommandPoolCreateFlags
Source§impl PartialEq for CommandPoolCreateFlags
impl PartialEq for CommandPoolCreateFlags
Source§impl Sub for CommandPoolCreateFlags
impl Sub for CommandPoolCreateFlags
Source§type Output = CommandPoolCreateFlags
type Output = CommandPoolCreateFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
fn sub(self, rhs: CommandPoolCreateFlags) -> CommandPoolCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for CommandPoolCreateFlags
impl SubAssign for CommandPoolCreateFlags
Source§fn sub_assign(&mut self, rhs: CommandPoolCreateFlags)
fn sub_assign(&mut self, rhs: CommandPoolCreateFlags)
Performs the
-= operation. Read moreimpl 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