Struct pilka_dyn::ash::vk::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'
pub const DEVICE_COHERENT_AMD: MemoryPropertyFlags
impl MemoryPropertyFlags
Generated from 'VK_AMD_device_coherent_memory'
pub const DEVICE_UNCACHED_AMD: MemoryPropertyFlags
impl MemoryPropertyFlags
Generated from 'VK_VERSION_1_1'
pub const PROTECTED: MemoryPropertyFlags
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.
pub fn bitand(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
impl BitAndAssign<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn bitand_assign(&mut self, rhs: MemoryPropertyFlags)
impl BitOr<MemoryPropertyFlags> for MemoryPropertyFlags
type Output = MemoryPropertyFlags
The resulting type after applying the |
operator.
pub fn bitor(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
impl BitOrAssign<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn bitor_assign(&mut self, rhs: MemoryPropertyFlags)
impl BitXor<MemoryPropertyFlags> for MemoryPropertyFlags
type Output = MemoryPropertyFlags
The resulting type after applying the ^
operator.
pub fn bitxor(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
impl BitXorAssign<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn bitxor_assign(&mut self, rhs: MemoryPropertyFlags)
impl Clone for MemoryPropertyFlags
pub fn clone(&self) -> MemoryPropertyFlags
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MemoryPropertyFlags
impl Debug for MemoryPropertyFlags
impl Default for MemoryPropertyFlags
pub fn default() -> MemoryPropertyFlags
impl Eq for MemoryPropertyFlags
impl Hash for MemoryPropertyFlags
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Not for MemoryPropertyFlags
type Output = MemoryPropertyFlags
The resulting type after applying the !
operator.
pub fn not(self) -> MemoryPropertyFlags
impl Ord for MemoryPropertyFlags
pub fn cmp(&self, other: &MemoryPropertyFlags) -> Ordering
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn eq(&self, other: &MemoryPropertyFlags) -> bool
pub fn ne(&self, other: &MemoryPropertyFlags) -> bool
impl PartialOrd<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn partial_cmp(&self, other: &MemoryPropertyFlags) -> Option<Ordering>
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MemoryPropertyFlags
impl StructuralPartialEq for MemoryPropertyFlags
impl Sub<MemoryPropertyFlags> for MemoryPropertyFlags
type Output = MemoryPropertyFlags
The resulting type after applying the -
operator.
pub fn sub(self, rhs: MemoryPropertyFlags) -> MemoryPropertyFlags
impl SubAssign<MemoryPropertyFlags> for MemoryPropertyFlags
pub fn sub_assign(&mut self, rhs: MemoryPropertyFlags)
Auto Trait Implementations
impl RefUnwindSafe for MemoryPropertyFlags
[src]
impl Send for MemoryPropertyFlags
[src]
impl Sync for MemoryPropertyFlags
[src]
impl Unpin for MemoryPropertyFlags
[src]
impl UnwindSafe for MemoryPropertyFlags
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,