Struct ash::vk::MemoryHeapFlags
source · [−]#[repr(transparent)]pub struct MemoryHeapFlags(_);
Expand description
Implementations
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
sourcepub const DEVICE_LOCAL: Self
pub const DEVICE_LOCAL: Self
If set, heap represents device memory
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
pub const MULTI_INSTANCE_KHR: Self
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_extension_299’
pub const RESERVED_2_KHR: Self
sourceimpl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const MULTI_INSTANCE: Self
pub const MULTI_INSTANCE: Self
If set, heap allocations allocate multiple instances by default
Trait Implementations
sourceimpl BitAnd<MemoryHeapFlags> for MemoryHeapFlags
impl BitAnd<MemoryHeapFlags> for MemoryHeapFlags
sourceimpl BitAndAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitAndAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOr<MemoryHeapFlags> for MemoryHeapFlags
impl BitOr<MemoryHeapFlags> for MemoryHeapFlags
sourceimpl BitOrAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitOrAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXor<MemoryHeapFlags> for MemoryHeapFlags
impl BitXor<MemoryHeapFlags> for MemoryHeapFlags
sourceimpl BitXorAssign<MemoryHeapFlags> for MemoryHeapFlags
impl BitXorAssign<MemoryHeapFlags> for MemoryHeapFlags
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl 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 more
sourceimpl Debug for MemoryHeapFlags
impl Debug for MemoryHeapFlags
sourceimpl Default for MemoryHeapFlags
impl Default for MemoryHeapFlags
sourceimpl Hash for MemoryHeapFlags
impl Hash for MemoryHeapFlags
sourceimpl Not for MemoryHeapFlags
impl Not for MemoryHeapFlags
sourceimpl Ord for MemoryHeapFlags
impl Ord for MemoryHeapFlags
sourceimpl PartialEq<MemoryHeapFlags> for MemoryHeapFlags
impl PartialEq<MemoryHeapFlags> for MemoryHeapFlags
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MemoryHeapFlags) -> bool
fn ne(&self, other: &MemoryHeapFlags) -> bool
This method tests for !=
.
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>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more