Struct erupt::vk1_0::MemoryPropertyFlagBits
source · #[repr(transparent)]pub struct MemoryPropertyFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of MemoryPropertyFlags
Tuple Fields
0: u32
Implementations
sourceimpl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
Provided by crate::extensions::amd_device_coherent_memory
pub const DEVICE_COHERENT_AMD: Self = _
pub const DEVICE_UNCACHED_AMD: Self = _
sourceimpl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
Provided by crate::extensions::nv_external_memory_rdma
pub const RDMA_CAPABLE_NV: Self = _
sourceimpl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
sourcepub const fn bitmask(&self) -> MemoryPropertyFlags
pub const fn bitmask(&self) -> MemoryPropertyFlags
Converts this enum variant to the corresponding bitmask
sourceimpl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
Provided by crate::vk1_0
pub const DEVICE_LOCAL: Self = _
pub const HOST_VISIBLE: Self = _
pub const HOST_COHERENT: Self = _
pub const HOST_CACHED: Self = _
pub const LAZILY_ALLOCATED: Self = _
Trait Implementations
sourceimpl Clone for MemoryPropertyFlagBits
impl Clone for MemoryPropertyFlagBits
sourcefn clone(&self) -> MemoryPropertyFlagBits
fn clone(&self) -> MemoryPropertyFlagBits
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 MemoryPropertyFlagBits
impl Debug for MemoryPropertyFlagBits
sourceimpl Default for MemoryPropertyFlagBits
impl Default for MemoryPropertyFlagBits
sourcefn default() -> MemoryPropertyFlagBits
fn default() -> MemoryPropertyFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for MemoryPropertyFlagBits
impl Hash for MemoryPropertyFlagBits
sourceimpl Ord for MemoryPropertyFlagBits
impl Ord for MemoryPropertyFlagBits
sourcefn cmp(&self, other: &MemoryPropertyFlagBits) -> Ordering
fn cmp(&self, other: &MemoryPropertyFlagBits) -> 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<MemoryPropertyFlagBits> for MemoryPropertyFlagBits
impl PartialEq<MemoryPropertyFlagBits> for MemoryPropertyFlagBits
sourcefn eq(&self, other: &MemoryPropertyFlagBits) -> bool
fn eq(&self, other: &MemoryPropertyFlagBits) -> bool
sourceimpl PartialOrd<MemoryPropertyFlagBits> for MemoryPropertyFlagBits
impl PartialOrd<MemoryPropertyFlagBits> for MemoryPropertyFlagBits
sourcefn partial_cmp(&self, other: &MemoryPropertyFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryPropertyFlagBits) -> 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 MemoryPropertyFlagBits
impl Eq for MemoryPropertyFlagBits
impl StructuralEq for MemoryPropertyFlagBits
impl StructuralPartialEq for MemoryPropertyFlagBits
Auto Trait Implementations
impl RefUnwindSafe for MemoryPropertyFlagBits
impl Send for MemoryPropertyFlagBits
impl Sync for MemoryPropertyFlagBits
impl Unpin for MemoryPropertyFlagBits
impl UnwindSafe for MemoryPropertyFlagBits
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