Struct screen_13::prelude::vk::MemoryHeapFlags
source · pub struct MemoryHeapFlags(_);Expand description
Implementations
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
pub const fn empty() -> MemoryHeapFlags
pub const fn from_raw(x: u32) -> MemoryHeapFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: MemoryHeapFlags) -> bool
sourcepub const fn contains(self, other: MemoryHeapFlags) -> bool
pub const fn contains(self, other: MemoryHeapFlags) -> bool
Returns whether other is a subset of self
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
sourcepub const DEVICE_LOCAL: MemoryHeapFlags = Self(1)
pub const DEVICE_LOCAL: MemoryHeapFlags = Self(1)
If set, heap represents device memory
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
pub const MULTI_INSTANCE_KHR: MemoryHeapFlags = Self::MULTI_INSTANCE
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_extension_299’
pub const RESERVED_2_KHR: MemoryHeapFlags = Self(4)
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const MULTI_INSTANCE: MemoryHeapFlags = Self(2)
pub const MULTI_INSTANCE: MemoryHeapFlags = Self(2)
If set, heap allocations allocate multiple instances by default
Trait Implementations
sourceimpl BitAnd<MemoryHeapFlags> for MemoryHeapFlags
impl BitAnd<MemoryHeapFlags> for MemoryHeapFlags
type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitAndAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitand_assign(&mut self, rhs: MemoryHeapFlags)
fn bitand_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
&= operation. Read moresourceimpl BitOr<MemoryHeapFlags> for MemoryHeapFlags
impl BitOr<MemoryHeapFlags> for MemoryHeapFlags
type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitOrAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitor_assign(&mut self, rhs: MemoryHeapFlags)
fn bitor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
|= operation. Read moresourceimpl BitXor<MemoryHeapFlags> for MemoryHeapFlags
impl BitXor<MemoryHeapFlags> for MemoryHeapFlags
type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitXorAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
fn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
^= operation. Read moresourceimpl Clone for MemoryHeapFlags
impl Clone for MemoryHeapFlags
sourcefn clone(&self) -> MemoryHeapFlags
fn clone(&self) -> MemoryHeapFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MemoryHeapFlags
impl Debug for MemoryHeapFlags
sourceimpl Default for MemoryHeapFlags
impl Default for MemoryHeapFlags
sourcefn default() -> MemoryHeapFlags
fn default() -> MemoryHeapFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for MemoryHeapFlags
impl Hash for MemoryHeapFlags
sourceimpl Not for MemoryHeapFlags
impl Not for MemoryHeapFlags
type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
! operator.sourcefn not(self) -> MemoryHeapFlags
fn not(self) -> MemoryHeapFlags
Performs the unary
! operation. Read moresourceimpl Ord for MemoryHeapFlags
impl Ord for MemoryHeapFlags
sourcefn cmp(&self, other: &MemoryHeapFlags) -> Ordering
fn cmp(&self, other: &MemoryHeapFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MemoryHeapFlags> for MemoryHeapFlags
impl PartialEq<MemoryHeapFlags> for MemoryHeapFlags
sourcefn eq(&self, other: &MemoryHeapFlags) -> bool
fn eq(&self, other: &MemoryHeapFlags) -> bool
sourceimpl PartialOrd<MemoryHeapFlags> for MemoryHeapFlags
impl PartialOrd<MemoryHeapFlags> for MemoryHeapFlags
sourcefn partial_cmp(&self, other: &MemoryHeapFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryHeapFlags) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for MemoryHeapFlags
impl Eq for MemoryHeapFlags
impl StructuralEq for MemoryHeapFlags
impl StructuralPartialEq for MemoryHeapFlags
Auto Trait Implementations
impl RefUnwindSafe for MemoryHeapFlags
impl Send for MemoryHeapFlags
impl Sync for MemoryHeapFlags
impl Unpin for MemoryHeapFlags
impl UnwindSafe for MemoryHeapFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more