[−][src]Struct ash::vk::MemoryPropertyFlags
Methods
impl MemoryPropertyFlags
[src]
pub const fn empty() -> MemoryPropertyFlags
[src]
pub const fn all() -> MemoryPropertyFlags
[src]
pub const fn from_raw(x: Flags) -> Self
[src]
pub const fn as_raw(self) -> Flags
[src]
pub fn is_empty(self) -> bool
[src]
pub fn is_all(self) -> bool
[src]
pub fn intersects(self, other: MemoryPropertyFlags) -> bool
[src]
pub fn contains(self, other: MemoryPropertyFlags) -> bool
[src]
Returns whether other
is a subset of self
impl MemoryPropertyFlags
[src]
pub const DEVICE_LOCAL: Self
[src]
If otherwise stated, then allocate memory on device
pub const HOST_VISIBLE: Self
[src]
Memory is mappable by host
pub const HOST_COHERENT: Self
[src]
Memory will have i/o coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flush/invalidate host cache
pub const HOST_CACHED: Self
[src]
Memory will be cached by the host
pub const LAZILY_ALLOCATED: Self
[src]
Memory may be allocated by the driver when it is required
impl MemoryPropertyFlags
[src]
Generated from 'VK_AMD_device_coherent_memory'
pub const DEVICE_COHERENT_AMD: Self
[src]
impl MemoryPropertyFlags
[src]
Generated from 'VK_AMD_device_coherent_memory'
pub const DEVICE_UNCACHED_AMD: Self
[src]
impl MemoryPropertyFlags
[src]
Generated from 'VK_VERSION_1_1'
Trait Implementations
impl BitAnd<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
type Output = MemoryPropertyFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
[src]
impl BitAndAssign<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn bitand_assign(&mut self, rhs: MemoryPropertyFlags)
[src]
impl BitOr<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
type Output = MemoryPropertyFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
[src]
impl BitOrAssign<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn bitor_assign(&mut self, rhs: MemoryPropertyFlags)
[src]
impl BitXor<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
type Output = MemoryPropertyFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
[src]
impl BitXorAssign<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn bitxor_assign(&mut self, rhs: MemoryPropertyFlags)
[src]
impl Clone for MemoryPropertyFlags
[src]
fn clone(&self) -> MemoryPropertyFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MemoryPropertyFlags
[src]
impl Debug for MemoryPropertyFlags
[src]
impl Default for MemoryPropertyFlags
[src]
fn default() -> MemoryPropertyFlags
[src]
impl Eq for MemoryPropertyFlags
[src]
impl Hash for MemoryPropertyFlags
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Not for MemoryPropertyFlags
[src]
type Output = MemoryPropertyFlags
The resulting type after applying the !
operator.
fn not(self) -> MemoryPropertyFlags
[src]
impl Ord for MemoryPropertyFlags
[src]
fn cmp(&self, other: &MemoryPropertyFlags) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn eq(&self, other: &MemoryPropertyFlags) -> bool
[src]
fn ne(&self, other: &MemoryPropertyFlags) -> bool
[src]
impl PartialOrd<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn partial_cmp(&self, other: &MemoryPropertyFlags) -> Option<Ordering>
[src]
fn lt(&self, other: &MemoryPropertyFlags) -> bool
[src]
fn le(&self, other: &MemoryPropertyFlags) -> bool
[src]
fn gt(&self, other: &MemoryPropertyFlags) -> bool
[src]
fn ge(&self, other: &MemoryPropertyFlags) -> bool
[src]
impl StructuralEq for MemoryPropertyFlags
[src]
impl StructuralPartialEq for MemoryPropertyFlags
[src]
impl Sub<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
type Output = MemoryPropertyFlags
The resulting type after applying the -
operator.
fn sub(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
[src]
impl SubAssign<MemoryPropertyFlags> for MemoryPropertyFlags
[src]
fn sub_assign(&mut self, rhs: MemoryPropertyFlags)
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryPropertyFlags
impl Send for MemoryPropertyFlags
impl Sync for MemoryPropertyFlags
impl Unpin for MemoryPropertyFlags
impl UnwindSafe for MemoryPropertyFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,