Struct screen_13::prelude::vk::MemoryHeapFlags
source · pub struct MemoryHeapFlags(/* private fields */);
Expand description
Implementations§
source§impl 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
source§impl MemoryHeapFlags
impl MemoryHeapFlags
sourcepub const DEVICE_LOCAL: MemoryHeapFlags = _
pub const DEVICE_LOCAL: MemoryHeapFlags = _
If set, heap represents device memory
source§impl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
pub const MULTI_INSTANCE_KHR: MemoryHeapFlags = Self::MULTI_INSTANCE
source§impl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const MULTI_INSTANCE: MemoryHeapFlags = _
pub const MULTI_INSTANCE: MemoryHeapFlags = _
If set, heap allocations allocate multiple instances by default
Trait Implementations§
source§impl BitAnd for MemoryHeapFlags
impl BitAnd for MemoryHeapFlags
§type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for MemoryHeapFlags
impl BitAndAssign for MemoryHeapFlags
source§fn bitand_assign(&mut self, rhs: MemoryHeapFlags)
fn bitand_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
&=
operation. Read moresource§impl BitOr for MemoryHeapFlags
impl BitOr for MemoryHeapFlags
§type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for MemoryHeapFlags
impl BitOrAssign for MemoryHeapFlags
source§fn bitor_assign(&mut self, rhs: MemoryHeapFlags)
fn bitor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
|=
operation. Read moresource§impl BitXor for MemoryHeapFlags
impl BitXor for MemoryHeapFlags
§type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
fn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for MemoryHeapFlags
impl BitXorAssign for MemoryHeapFlags
source§fn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
fn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the
^=
operation. Read moresource§impl Clone for MemoryHeapFlags
impl Clone for MemoryHeapFlags
source§fn clone(&self) -> MemoryHeapFlags
fn clone(&self) -> MemoryHeapFlags
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 MemoryHeapFlags
impl Debug for MemoryHeapFlags
source§impl Default for MemoryHeapFlags
impl Default for MemoryHeapFlags
source§fn default() -> MemoryHeapFlags
fn default() -> MemoryHeapFlags
Returns the “default value” for a type. Read more
source§impl Hash for MemoryHeapFlags
impl Hash for MemoryHeapFlags
source§impl Not for MemoryHeapFlags
impl Not for MemoryHeapFlags
§type Output = MemoryHeapFlags
type Output = MemoryHeapFlags
The resulting type after applying the
!
operator.source§fn not(self) -> MemoryHeapFlags
fn not(self) -> MemoryHeapFlags
Performs the unary
!
operation. Read moresource§impl Ord for MemoryHeapFlags
impl Ord for MemoryHeapFlags
source§fn cmp(&self, other: &MemoryHeapFlags) -> Ordering
fn cmp(&self, other: &MemoryHeapFlags) -> 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 MemoryHeapFlags
impl PartialEq for MemoryHeapFlags
source§fn eq(&self, other: &MemoryHeapFlags) -> bool
fn eq(&self, other: &MemoryHeapFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MemoryHeapFlags
impl PartialOrd for MemoryHeapFlags
source§fn partial_cmp(&self, other: &MemoryHeapFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryHeapFlags) -> Option<Ordering>
1.0.0 · source§fn 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 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§
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