Struct rspirv_reflect::DescriptorType
source · #[repr(transparent)]pub struct DescriptorType(pub u32);Expand description
These are bit-exact with ash and the Vulkan specification, they’re mirrored here to prevent a dependency on ash
Tuple Fields§
§0: u32Implementations§
source§impl DescriptorType
impl DescriptorType
pub const SAMPLER: Self = _
pub const COMBINED_IMAGE_SAMPLER: Self = _
pub const SAMPLED_IMAGE: Self = _
pub const STORAGE_IMAGE: Self = _
pub const UNIFORM_TEXEL_BUFFER: Self = _
pub const STORAGE_TEXEL_BUFFER: Self = _
pub const UNIFORM_BUFFER: Self = _
pub const STORAGE_BUFFER: Self = _
pub const UNIFORM_BUFFER_DYNAMIC: Self = _
pub const STORAGE_BUFFER_DYNAMIC: Self = _
pub const INPUT_ATTACHMENT: Self = _
pub const INLINE_UNIFORM_BLOCK_EXT: Self = _
pub const ACCELERATION_STRUCTURE_KHR: Self = _
pub const ACCELERATION_STRUCTURE_NV: Self = _
Trait Implementations§
source§impl Clone for DescriptorType
impl Clone for DescriptorType
source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 DescriptorType
impl Debug for DescriptorType
source§impl PartialEq<DescriptorType> for DescriptorType
impl PartialEq<DescriptorType> for DescriptorType
source§fn eq(&self, other: &DescriptorType) -> bool
fn eq(&self, other: &DescriptorType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DescriptorType
impl Eq for DescriptorType
impl StructuralEq for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations§
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more