pub struct PipelineCacheCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl PipelineCacheCreateFlags
impl PipelineCacheCreateFlags
pub const fn empty() -> PipelineCacheCreateFlags
pub const fn all() -> PipelineCacheCreateFlags
pub const fn from_raw(x: u32) -> PipelineCacheCreateFlags
pub const fn as_raw(self) -> u32
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: PipelineCacheCreateFlags) -> bool
Sourcepub fn contains(self, other: PipelineCacheCreateFlags) -> bool
pub fn contains(self, other: PipelineCacheCreateFlags) -> bool
Returns whether other is a subset of self
Source§impl PipelineCacheCreateFlags
Generated from ‘VK_GOOGLE_extension_196’
impl PipelineCacheCreateFlags
Generated from ‘VK_GOOGLE_extension_196’
pub const RESERVED_1_EXT: PipelineCacheCreateFlags
Source§impl PipelineCacheCreateFlags
Generated from ‘VK_EXT_pipeline_creation_cache_control’
impl PipelineCacheCreateFlags
Generated from ‘VK_EXT_pipeline_creation_cache_control’
Source§impl PipelineCacheCreateFlags
Generated from ‘VK_KHR_extension_299’
impl PipelineCacheCreateFlags
Generated from ‘VK_KHR_extension_299’
pub const RESERVED_1_KHR: PipelineCacheCreateFlags = Self::RESERVED_1_EXT
Source§impl PipelineCacheCreateFlags
Generated from ‘VK_KHR_extension_299’
impl PipelineCacheCreateFlags
Generated from ‘VK_KHR_extension_299’
pub const RESERVED_2_KHR: PipelineCacheCreateFlags
Trait Implementations§
Source§impl BitAnd for PipelineCacheCreateFlags
impl BitAnd for PipelineCacheCreateFlags
Source§type Output = PipelineCacheCreateFlags
type Output = PipelineCacheCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
fn bitand(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for PipelineCacheCreateFlags
impl BitAndAssign for PipelineCacheCreateFlags
Source§fn bitand_assign(&mut self, rhs: PipelineCacheCreateFlags)
fn bitand_assign(&mut self, rhs: PipelineCacheCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for PipelineCacheCreateFlags
impl BitOr for PipelineCacheCreateFlags
Source§type Output = PipelineCacheCreateFlags
type Output = PipelineCacheCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
fn bitor(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for PipelineCacheCreateFlags
impl BitOrAssign for PipelineCacheCreateFlags
Source§fn bitor_assign(&mut self, rhs: PipelineCacheCreateFlags)
fn bitor_assign(&mut self, rhs: PipelineCacheCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for PipelineCacheCreateFlags
impl BitXor for PipelineCacheCreateFlags
Source§type Output = PipelineCacheCreateFlags
type Output = PipelineCacheCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
fn bitxor(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for PipelineCacheCreateFlags
impl BitXorAssign for PipelineCacheCreateFlags
Source§fn bitxor_assign(&mut self, rhs: PipelineCacheCreateFlags)
fn bitxor_assign(&mut self, rhs: PipelineCacheCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for PipelineCacheCreateFlags
impl Clone for PipelineCacheCreateFlags
Source§fn clone(&self) -> PipelineCacheCreateFlags
fn clone(&self) -> PipelineCacheCreateFlags
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 PipelineCacheCreateFlags
impl Debug for PipelineCacheCreateFlags
Source§impl Default for PipelineCacheCreateFlags
impl Default for PipelineCacheCreateFlags
Source§fn default() -> PipelineCacheCreateFlags
fn default() -> PipelineCacheCreateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for PipelineCacheCreateFlags
impl Hash for PipelineCacheCreateFlags
Source§impl Not for PipelineCacheCreateFlags
impl Not for PipelineCacheCreateFlags
Source§type Output = PipelineCacheCreateFlags
type Output = PipelineCacheCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> PipelineCacheCreateFlags
fn not(self) -> PipelineCacheCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for PipelineCacheCreateFlags
impl Ord for PipelineCacheCreateFlags
Source§fn cmp(&self, other: &PipelineCacheCreateFlags) -> Ordering
fn cmp(&self, other: &PipelineCacheCreateFlags) -> 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 PipelineCacheCreateFlags
impl PartialEq for PipelineCacheCreateFlags
Source§fn eq(&self, other: &PipelineCacheCreateFlags) -> bool
fn eq(&self, other: &PipelineCacheCreateFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PipelineCacheCreateFlags
impl PartialOrd for PipelineCacheCreateFlags
Source§impl Sub for PipelineCacheCreateFlags
impl Sub for PipelineCacheCreateFlags
Source§type Output = PipelineCacheCreateFlags
type Output = PipelineCacheCreateFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
fn sub(self, rhs: PipelineCacheCreateFlags) -> PipelineCacheCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for PipelineCacheCreateFlags
impl SubAssign for PipelineCacheCreateFlags
Source§fn sub_assign(&mut self, rhs: PipelineCacheCreateFlags)
fn sub_assign(&mut self, rhs: PipelineCacheCreateFlags)
Performs the
-= operation. Read moreimpl Copy for PipelineCacheCreateFlags
impl Eq for PipelineCacheCreateFlags
impl StructuralPartialEq for PipelineCacheCreateFlags
Auto Trait Implementations§
impl Freeze for PipelineCacheCreateFlags
impl RefUnwindSafe for PipelineCacheCreateFlags
impl Send for PipelineCacheCreateFlags
impl Sync for PipelineCacheCreateFlags
impl Unpin for PipelineCacheCreateFlags
impl UnsafeUnpin for PipelineCacheCreateFlags
impl UnwindSafe for PipelineCacheCreateFlags
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.