[][src]Struct ash::vk::MemoryPropertyFlags

#[repr(transparent)]pub struct MemoryPropertyFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryPropertyFlagBits.html

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'

pub const PROTECTED: Self[src]

Trait Implementations

impl BitAnd<MemoryPropertyFlags> for MemoryPropertyFlags[src]

type Output = MemoryPropertyFlags

The resulting type after applying the & operator.

impl BitAndAssign<MemoryPropertyFlags> for MemoryPropertyFlags[src]

impl BitOr<MemoryPropertyFlags> for MemoryPropertyFlags[src]

type Output = MemoryPropertyFlags

The resulting type after applying the | operator.

impl BitOrAssign<MemoryPropertyFlags> for MemoryPropertyFlags[src]

impl BitXor<MemoryPropertyFlags> for MemoryPropertyFlags[src]

type Output = MemoryPropertyFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<MemoryPropertyFlags> for MemoryPropertyFlags[src]

impl Clone for MemoryPropertyFlags[src]

impl Copy for MemoryPropertyFlags[src]

impl Debug for MemoryPropertyFlags[src]

impl Default for MemoryPropertyFlags[src]

impl Eq for MemoryPropertyFlags[src]

impl Hash for MemoryPropertyFlags[src]

impl Not for MemoryPropertyFlags[src]

type Output = MemoryPropertyFlags

The resulting type after applying the ! operator.

impl Ord for MemoryPropertyFlags[src]

impl PartialEq<MemoryPropertyFlags> for MemoryPropertyFlags[src]

impl PartialOrd<MemoryPropertyFlags> for MemoryPropertyFlags[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.

impl SubAssign<MemoryPropertyFlags> for 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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.