pub struct MemoryAllocateFlags(/* private fields */);Expand description
Implementations§
Source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
pub const fn empty() -> MemoryAllocateFlags
pub const fn from_raw(x: u32) -> MemoryAllocateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: MemoryAllocateFlags) -> bool
Sourcepub const fn contains(self, other: MemoryAllocateFlags) -> bool
pub const fn contains(self, other: MemoryAllocateFlags) -> bool
Returns whether other is a subset of self
Source§impl MemoryAllocateFlags
impl MemoryAllocateFlags
Sourcepub const DEVICE_MASK: MemoryAllocateFlags
pub const DEVICE_MASK: MemoryAllocateFlags
Force allocation on specific devices
Source§impl MemoryAllocateFlags
Generated from ‘VK_KHR_device_group’
impl MemoryAllocateFlags
Generated from ‘VK_KHR_device_group’
pub const DEVICE_MASK_KHR: MemoryAllocateFlags = Self::DEVICE_MASK
Source§impl MemoryAllocateFlags
Generated from ‘VK_KHR_buffer_device_address’
impl MemoryAllocateFlags
Generated from ‘VK_KHR_buffer_device_address’
pub const DEVICE_ADDRESS_KHR: MemoryAllocateFlags = Self::DEVICE_ADDRESS
pub const DEVICE_ADDRESS_CAPTURE_REPLAY_KHR: MemoryAllocateFlags = Self::DEVICE_ADDRESS_CAPTURE_REPLAY
Source§impl MemoryAllocateFlags
Generated from ‘VK_VERSION_1_2’
impl MemoryAllocateFlags
Generated from ‘VK_VERSION_1_2’
pub const DEVICE_ADDRESS: MemoryAllocateFlags
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: MemoryAllocateFlags
Trait Implementations§
Source§impl BitAnd for MemoryAllocateFlags
impl BitAnd for MemoryAllocateFlags
Source§type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitand(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for MemoryAllocateFlags
impl BitAndAssign for MemoryAllocateFlags
Source§fn bitand_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitand_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for MemoryAllocateFlags
impl BitOr for MemoryAllocateFlags
Source§type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for MemoryAllocateFlags
impl BitOrAssign for MemoryAllocateFlags
Source§fn bitor_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitor_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for MemoryAllocateFlags
impl BitXor for MemoryAllocateFlags
Source§type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitxor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for MemoryAllocateFlags
impl BitXorAssign for MemoryAllocateFlags
Source§fn bitxor_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitxor_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the
^= operation. Read moreSource§impl Clone for MemoryAllocateFlags
impl Clone for MemoryAllocateFlags
Source§fn clone(&self) -> MemoryAllocateFlags
fn clone(&self) -> MemoryAllocateFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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§fn default() -> MemoryAllocateFlags
fn default() -> MemoryAllocateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for MemoryAllocateFlags
impl Hash for MemoryAllocateFlags
Source§impl Not for MemoryAllocateFlags
impl Not for MemoryAllocateFlags
Source§type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> MemoryAllocateFlags
fn not(self) -> MemoryAllocateFlags
Performs the unary
! operation. Read moreSource§impl Ord for MemoryAllocateFlags
impl Ord for MemoryAllocateFlags
Source§fn cmp(&self, other: &MemoryAllocateFlags) -> Ordering
fn cmp(&self, other: &MemoryAllocateFlags) -> Ordering
1.21.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MemoryAllocateFlags
impl PartialOrd for MemoryAllocateFlags
impl 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.