pub struct CommandPoolCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl CommandPoolCreateFlags
impl CommandPoolCreateFlags
pub const fn empty() -> CommandPoolCreateFlags
pub const fn all() -> CommandPoolCreateFlags
pub const fn from_raw(x: u32) -> CommandPoolCreateFlags
pub const fn as_raw(self) -> u32
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: CommandPoolCreateFlags) -> bool
Sourcepub fn contains(self, other: CommandPoolCreateFlags) -> bool
pub 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’
pub const PROTECTED: CommandPoolCreateFlags
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 (const: unstable) · 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 (const: unstable) · 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§fn eq(&self, other: &CommandPoolCreateFlags) -> bool
fn eq(&self, other: &CommandPoolCreateFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CommandPoolCreateFlags
impl PartialOrd 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 UnsafeUnpin 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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.