Struct ash::vk::bitflags::MemoryAllocateFlags
source · #[repr(transparent)]pub struct MemoryAllocateFlags(pub(crate) Flags);
Expand description
Tuple Fields§
§0: Flags
Implementations§
source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
sourcepub const DEVICE_MASK: Self = _
pub const DEVICE_MASK: Self = _
Force allocation on specific devices
source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
Generated from ‘VK_KHR_device_group’
pub const DEVICE_MASK_KHR: Self = Self::DEVICE_MASK
source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
Generated from ‘VK_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
source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
Generated from ‘VK_VERSION_1_2’
pub const DEVICE_ADDRESS: Self = _
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = _
Trait Implementations§
source§impl BitAnd for MemoryAllocateFlags
impl BitAnd for MemoryAllocateFlags
source§impl BitAndAssign for MemoryAllocateFlags
impl BitAndAssign for MemoryAllocateFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for MemoryAllocateFlags
impl BitOr for MemoryAllocateFlags
source§impl BitOrAssign for MemoryAllocateFlags
impl BitOrAssign for MemoryAllocateFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for MemoryAllocateFlags
impl BitXor for MemoryAllocateFlags
source§impl BitXorAssign for MemoryAllocateFlags
impl BitXorAssign for MemoryAllocateFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for MemoryAllocateFlags
impl Clone for MemoryAllocateFlags
source§fn clone(&self) -> MemoryAllocateFlags
fn clone(&self) -> MemoryAllocateFlags
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 MemoryAllocateFlags
impl Debug for MemoryAllocateFlags
source§impl Default for MemoryAllocateFlags
impl Default for MemoryAllocateFlags
source§impl Hash for MemoryAllocateFlags
impl Hash for MemoryAllocateFlags
source§impl Not for MemoryAllocateFlags
impl Not for MemoryAllocateFlags
source§impl Ord for MemoryAllocateFlags
impl Ord for MemoryAllocateFlags
source§fn cmp(&self, other: &MemoryAllocateFlags) -> Ordering
fn cmp(&self, other: &MemoryAllocateFlags) -> 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 MemoryAllocateFlags
impl PartialEq for MemoryAllocateFlags
source§fn eq(&self, other: &MemoryAllocateFlags) -> bool
fn eq(&self, other: &MemoryAllocateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MemoryAllocateFlags
impl PartialOrd for MemoryAllocateFlags
source§fn partial_cmp(&self, other: &MemoryAllocateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryAllocateFlags) -> 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 MemoryAllocateFlags
impl Eq for MemoryAllocateFlags
impl StructuralPartialEq for MemoryAllocateFlags
Auto Trait Implementations§
impl Freeze for MemoryAllocateFlags
impl RefUnwindSafe for MemoryAllocateFlags
impl Send for MemoryAllocateFlags
impl Sync for MemoryAllocateFlags
impl Unpin for MemoryAllocateFlags
impl UnwindSafe for MemoryAllocateFlags
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