Struct pilka_dyn::ash::vk::MemoryPropertyFlags[]

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

Implementations

impl MemoryPropertyFlags

pub const DEVICE_LOCAL: MemoryPropertyFlags

If otherwise stated, then allocate memory on device

pub const HOST_VISIBLE: MemoryPropertyFlags

Memory is mappable by host

pub const HOST_COHERENT: MemoryPropertyFlags

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: MemoryPropertyFlags

Memory will be cached by the host

pub const LAZILY_ALLOCATED: MemoryPropertyFlags

Memory may be allocated by the driver when it is required

impl MemoryPropertyFlags

Generated from 'VK_AMD_device_coherent_memory'

impl MemoryPropertyFlags

Generated from 'VK_AMD_device_coherent_memory'

impl MemoryPropertyFlags

Generated from 'VK_VERSION_1_1'

impl MemoryPropertyFlags

pub const fn empty() -> MemoryPropertyFlags

pub const fn all() -> MemoryPropertyFlags

pub const fn from_raw(x: u32) -> MemoryPropertyFlags

pub const fn as_raw(self) -> u32

pub fn is_empty(self) -> bool

pub fn is_all(self) -> bool

pub fn intersects(self, other: MemoryPropertyFlags) -> bool

pub fn contains(self, other: MemoryPropertyFlags) -> bool

Returns whether other is a subset of self

Trait Implementations

impl BitAnd<MemoryPropertyFlags> for MemoryPropertyFlags

type Output = MemoryPropertyFlags

The resulting type after applying the & operator.

impl BitAndAssign<MemoryPropertyFlags> for MemoryPropertyFlags

impl BitOr<MemoryPropertyFlags> for MemoryPropertyFlags

type Output = MemoryPropertyFlags

The resulting type after applying the | operator.

impl BitOrAssign<MemoryPropertyFlags> for MemoryPropertyFlags

impl BitXor<MemoryPropertyFlags> for MemoryPropertyFlags

type Output = MemoryPropertyFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<MemoryPropertyFlags> for MemoryPropertyFlags

impl Clone for MemoryPropertyFlags

impl Copy for MemoryPropertyFlags

impl Debug for MemoryPropertyFlags

impl Default for MemoryPropertyFlags

impl Eq for MemoryPropertyFlags

impl Hash for MemoryPropertyFlags

impl Not for MemoryPropertyFlags

type Output = MemoryPropertyFlags

The resulting type after applying the ! operator.

impl Ord for MemoryPropertyFlags

impl PartialEq<MemoryPropertyFlags> for MemoryPropertyFlags

impl PartialOrd<MemoryPropertyFlags> for MemoryPropertyFlags

impl StructuralEq for MemoryPropertyFlags

impl StructuralPartialEq for MemoryPropertyFlags

impl Sub<MemoryPropertyFlags> for MemoryPropertyFlags

type Output = MemoryPropertyFlags

The resulting type after applying the - operator.

impl SubAssign<MemoryPropertyFlags> for MemoryPropertyFlags

Auto Trait Implementations

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.