#[repr(transparent)]pub struct MemoryAllocateFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl MemoryAllocateFlags
impl MemoryAllocateFlags
sourcepub const DEVICE_MASK: MemoryAllocateFlags = Self(1)
pub const DEVICE_MASK: MemoryAllocateFlags = Self(1)
Force allocation on specific devices
sourceimpl MemoryAllocateFlags
impl MemoryAllocateFlags
Generated from ‘VK_KHR_device_group’
pub const DEVICE_MASK_KHR: MemoryAllocateFlags = Self::DEVICE_MASK
sourceimpl MemoryAllocateFlags
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
sourceimpl MemoryAllocateFlags
impl MemoryAllocateFlags
Generated from ‘VK_VERSION_1_2’
pub const DEVICE_ADDRESS: MemoryAllocateFlags = Self(2)
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: MemoryAllocateFlags = Self(4)
Trait Implementations
sourceimpl BitAnd<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitAnd<MemoryAllocateFlags> for MemoryAllocateFlags
type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitand(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitAndAssign<MemoryAllocateFlags> for MemoryAllocateFlags
sourcefn bitand_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitand_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the &= operation. Read more
sourceimpl BitOr<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitOr<MemoryAllocateFlags> for MemoryAllocateFlags
type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitOrAssign<MemoryAllocateFlags> for MemoryAllocateFlags
sourcefn bitor_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitor_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the |= operation. Read more
sourceimpl BitXor<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitXor<MemoryAllocateFlags> for MemoryAllocateFlags
type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
fn bitxor(self, rhs: MemoryAllocateFlags) -> MemoryAllocateFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<MemoryAllocateFlags> for MemoryAllocateFlags
impl BitXorAssign<MemoryAllocateFlags> for MemoryAllocateFlags
sourcefn bitxor_assign(&mut self, rhs: MemoryAllocateFlags)
fn bitxor_assign(&mut self, rhs: MemoryAllocateFlags)
Performs the ^= operation. Read more
sourceimpl Clone for MemoryAllocateFlags
impl Clone for MemoryAllocateFlags
sourcefn clone(&self) -> MemoryAllocateFlags
fn clone(&self) -> MemoryAllocateFlags
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 MemoryAllocateFlags
impl Debug for MemoryAllocateFlags
sourceimpl Default for MemoryAllocateFlags
impl Default for MemoryAllocateFlags
sourcefn default() -> MemoryAllocateFlags
fn default() -> MemoryAllocateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for MemoryAllocateFlags
impl Hash for MemoryAllocateFlags
sourceimpl Not for MemoryAllocateFlags
impl Not for MemoryAllocateFlags
type Output = MemoryAllocateFlags
type Output = MemoryAllocateFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> MemoryAllocateFlags
fn not(self) -> MemoryAllocateFlags
Performs the unary ! operation. Read more
sourceimpl Ord for MemoryAllocateFlags
impl Ord for MemoryAllocateFlags
sourceimpl PartialEq<MemoryAllocateFlags> for MemoryAllocateFlags
impl PartialEq<MemoryAllocateFlags> for MemoryAllocateFlags
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &MemoryAllocateFlags) -> bool
fn ne(&self, other: &MemoryAllocateFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<MemoryAllocateFlags> for MemoryAllocateFlags
impl PartialOrd<MemoryAllocateFlags> for MemoryAllocateFlags
sourcefn partial_cmp(&self, other: &MemoryAllocateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryAllocateFlags) -> 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 MemoryAllocateFlags
impl Eq for MemoryAllocateFlags
impl StructuralEq for MemoryAllocateFlags
impl StructuralPartialEq for MemoryAllocateFlags
Auto Trait Implementations
impl RefUnwindSafe for MemoryAllocateFlags
impl Send for MemoryAllocateFlags
impl Sync for MemoryAllocateFlags
impl Unpin for MemoryAllocateFlags
impl UnwindSafe for MemoryAllocateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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