Struct erupt::vk1_1::MemoryAllocateFlagBits
source · #[repr(transparent)]pub struct MemoryAllocateFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of MemoryAllocateFlags
Tuple Fields
0: u32
Implementations
sourceimpl MemoryAllocateFlagBits
impl MemoryAllocateFlagBits
Provided by crate::extensions::khr_buffer_device_address
pub const DEVICE_ADDRESS_KHR: Self = Self::DEVICE_ADDRESS
pub const DEVICE_ADDRESS_CAPTURE_REPLAY_KHR: Self = Self::DEVICE_ADDRESS_CAPTURE_REPLAY
sourceimpl MemoryAllocateFlagBits
impl MemoryAllocateFlagBits
Provided by crate::extensions::khr_device_group
pub const DEVICE_MASK_KHR: Self = Self::DEVICE_MASK
sourceimpl MemoryAllocateFlagBits
impl MemoryAllocateFlagBits
sourcepub const fn bitmask(&self) -> MemoryAllocateFlags
pub const fn bitmask(&self) -> MemoryAllocateFlags
Converts this enum variant to the corresponding bitmask
sourceimpl MemoryAllocateFlagBits
impl MemoryAllocateFlagBits
Provided by crate::vk1_2
pub const DEVICE_ADDRESS: Self = _
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = _
Trait Implementations
sourceimpl Clone for MemoryAllocateFlagBits
impl Clone for MemoryAllocateFlagBits
sourcefn clone(&self) -> MemoryAllocateFlagBits
fn clone(&self) -> MemoryAllocateFlagBits
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 MemoryAllocateFlagBits
impl Debug for MemoryAllocateFlagBits
sourceimpl Default for MemoryAllocateFlagBits
impl Default for MemoryAllocateFlagBits
sourcefn default() -> MemoryAllocateFlagBits
fn default() -> MemoryAllocateFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for MemoryAllocateFlagBits
impl Hash for MemoryAllocateFlagBits
sourceimpl Ord for MemoryAllocateFlagBits
impl Ord for MemoryAllocateFlagBits
sourcefn cmp(&self, other: &MemoryAllocateFlagBits) -> Ordering
fn cmp(&self, other: &MemoryAllocateFlagBits) -> 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<MemoryAllocateFlagBits> for MemoryAllocateFlagBits
impl PartialEq<MemoryAllocateFlagBits> for MemoryAllocateFlagBits
sourcefn eq(&self, other: &MemoryAllocateFlagBits) -> bool
fn eq(&self, other: &MemoryAllocateFlagBits) -> bool
sourceimpl PartialOrd<MemoryAllocateFlagBits> for MemoryAllocateFlagBits
impl PartialOrd<MemoryAllocateFlagBits> for MemoryAllocateFlagBits
sourcefn partial_cmp(&self, other: &MemoryAllocateFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryAllocateFlagBits) -> 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 MemoryAllocateFlagBits
impl Eq for MemoryAllocateFlagBits
impl StructuralEq for MemoryAllocateFlagBits
impl StructuralPartialEq for MemoryAllocateFlagBits
Auto Trait Implementations
impl RefUnwindSafe for MemoryAllocateFlagBits
impl Send for MemoryAllocateFlagBits
impl Sync for MemoryAllocateFlagBits
impl Unpin for MemoryAllocateFlagBits
impl UnwindSafe for MemoryAllocateFlagBits
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