Struct screen_13::prelude::vk::BufferCreateFlags
source · pub struct BufferCreateFlags(_);Expand description
Implementations§
source§impl BufferCreateFlags
impl BufferCreateFlags
pub const fn empty() -> BufferCreateFlags
pub const fn from_raw(x: u32) -> BufferCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: BufferCreateFlags) -> bool
sourcepub const fn contains(self, other: BufferCreateFlags) -> bool
pub const fn contains(self, other: BufferCreateFlags) -> bool
Returns whether other is a subset of self
source§impl BufferCreateFlags
impl BufferCreateFlags
sourcepub const SPARSE_BINDING: BufferCreateFlags = Self(1)
pub const SPARSE_BINDING: BufferCreateFlags = Self(1)
Buffer should support sparse backing
sourcepub const SPARSE_RESIDENCY: BufferCreateFlags = Self(2)
pub const SPARSE_RESIDENCY: BufferCreateFlags = Self(2)
Buffer should support sparse backing with partial residency
sourcepub const SPARSE_ALIASED: BufferCreateFlags = Self(4)
pub const SPARSE_ALIASED: BufferCreateFlags = Self(4)
Buffer should support constant data access to physical memory ranges mapped into multiple locations of sparse buffers
source§impl BufferCreateFlags
impl BufferCreateFlags
Generated from ‘VK_EXT_buffer_device_address’
pub const DEVICE_ADDRESS_CAPTURE_REPLAY_EXT: BufferCreateFlags = Self::DEVICE_ADDRESS_CAPTURE_REPLAY
source§impl BufferCreateFlags
impl BufferCreateFlags
Generated from ‘VK_KHR_buffer_device_address’
pub const DEVICE_ADDRESS_CAPTURE_REPLAY_KHR: BufferCreateFlags = Self::DEVICE_ADDRESS_CAPTURE_REPLAY
source§impl BufferCreateFlags
impl BufferCreateFlags
Generated from ‘VK_EXT_descriptor_buffer’
pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: BufferCreateFlags = Self(32)
source§impl BufferCreateFlags
impl BufferCreateFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const PROTECTED: BufferCreateFlags = Self(8)
pub const PROTECTED: BufferCreateFlags = Self(8)
Buffer requires protected memory
source§impl BufferCreateFlags
impl BufferCreateFlags
Generated from ‘VK_VERSION_1_2’
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: BufferCreateFlags = Self(16)
Trait Implementations§
source§impl BitAnd<BufferCreateFlags> for BufferCreateFlags
impl BitAnd<BufferCreateFlags> for BufferCreateFlags
§type Output = BufferCreateFlags
type Output = BufferCreateFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: BufferCreateFlags) -> BufferCreateFlags
fn bitand(self, rhs: BufferCreateFlags) -> BufferCreateFlags
Performs the
& operation. Read moresource§impl BitAndAssign<BufferCreateFlags> for BufferCreateFlags
impl BitAndAssign<BufferCreateFlags> for BufferCreateFlags
source§fn bitand_assign(&mut self, rhs: BufferCreateFlags)
fn bitand_assign(&mut self, rhs: BufferCreateFlags)
Performs the
&= operation. Read moresource§impl BitOr<BufferCreateFlags> for BufferCreateFlags
impl BitOr<BufferCreateFlags> for BufferCreateFlags
§type Output = BufferCreateFlags
type Output = BufferCreateFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: BufferCreateFlags) -> BufferCreateFlags
fn bitor(self, rhs: BufferCreateFlags) -> BufferCreateFlags
Performs the
| operation. Read moresource§impl BitOrAssign<BufferCreateFlags> for BufferCreateFlags
impl BitOrAssign<BufferCreateFlags> for BufferCreateFlags
source§fn bitor_assign(&mut self, rhs: BufferCreateFlags)
fn bitor_assign(&mut self, rhs: BufferCreateFlags)
Performs the
|= operation. Read moresource§impl BitXor<BufferCreateFlags> for BufferCreateFlags
impl BitXor<BufferCreateFlags> for BufferCreateFlags
§type Output = BufferCreateFlags
type Output = BufferCreateFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: BufferCreateFlags) -> BufferCreateFlags
fn bitxor(self, rhs: BufferCreateFlags) -> BufferCreateFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<BufferCreateFlags> for BufferCreateFlags
impl BitXorAssign<BufferCreateFlags> for BufferCreateFlags
source§fn bitxor_assign(&mut self, rhs: BufferCreateFlags)
fn bitxor_assign(&mut self, rhs: BufferCreateFlags)
Performs the
^= operation. Read moresource§impl Clone for BufferCreateFlags
impl Clone for BufferCreateFlags
source§fn clone(&self) -> BufferCreateFlags
fn clone(&self) -> BufferCreateFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BufferCreateFlags
impl Debug for BufferCreateFlags
source§impl Default for BufferCreateFlags
impl Default for BufferCreateFlags
source§fn default() -> BufferCreateFlags
fn default() -> BufferCreateFlags
Returns the “default value” for a type. Read more
source§impl Hash for BufferCreateFlags
impl Hash for BufferCreateFlags
source§impl Not for BufferCreateFlags
impl Not for BufferCreateFlags
§type Output = BufferCreateFlags
type Output = BufferCreateFlags
The resulting type after applying the
! operator.source§fn not(self) -> BufferCreateFlags
fn not(self) -> BufferCreateFlags
Performs the unary
! operation. Read moresource§impl Ord for BufferCreateFlags
impl Ord for BufferCreateFlags
source§fn cmp(&self, other: &BufferCreateFlags) -> Ordering
fn cmp(&self, other: &BufferCreateFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BufferCreateFlags> for BufferCreateFlags
impl PartialEq<BufferCreateFlags> for BufferCreateFlags
source§fn eq(&self, other: &BufferCreateFlags) -> bool
fn eq(&self, other: &BufferCreateFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BufferCreateFlags> for BufferCreateFlags
impl PartialOrd<BufferCreateFlags> for BufferCreateFlags
source§fn partial_cmp(&self, other: &BufferCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferCreateFlags) -> Option<Ordering>
1.0.0 · source§fn 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