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
sourceimpl 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
sourceimpl Clone for DescriptorType
impl Clone for DescriptorType
sourcefn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescriptorType
impl Debug for DescriptorType
sourceimpl PartialEq<DescriptorType> for DescriptorType
impl PartialEq<DescriptorType> for DescriptorType
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &DescriptorType) -> bool
fn ne(&self, other: &DescriptorType) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more