Struct rspirv_reflect::DescriptorType [−][src]
#[repr(transparent)]pub struct DescriptorType(pub u32);
These are bit-exact with ash and the Vulkan specification, they’re mirrored here to prevent a dependency on ash
Implementations
impl DescriptorType
[src]
impl DescriptorType
[src]pub const SAMPLER: Self
[src]
pub const COMBINED_IMAGE_SAMPLER: Self
[src]
pub const SAMPLED_IMAGE: Self
[src]
pub const STORAGE_IMAGE: Self
[src]
pub const UNIFORM_TEXEL_BUFFER: Self
[src]
pub const STORAGE_TEXEL_BUFFER: Self
[src]
pub const UNIFORM_BUFFER: Self
[src]
pub const STORAGE_BUFFER: Self
[src]
pub const UNIFORM_BUFFER_DYNAMIC: Self
[src]
pub const STORAGE_BUFFER_DYNAMIC: Self
[src]
pub const INPUT_ATTACHMENT: Self
[src]
pub const INLINE_UNIFORM_BLOCK_EXT: Self
[src]
pub const ACCELERATION_STRUCTURE_KHR: Self
[src]
pub const ACCELERATION_STRUCTURE_NV: Self
[src]
Trait Implementations
impl Clone for DescriptorType
[src]
impl Clone for DescriptorType
[src]fn clone(&self) -> DescriptorType
[src]
fn clone(&self) -> DescriptorType
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for DescriptorType
[src]
impl Debug for DescriptorType
[src]impl PartialEq<DescriptorType> for DescriptorType
[src]
impl PartialEq<DescriptorType> for DescriptorType
[src]fn eq(&self, other: &DescriptorType) -> bool
[src]
fn eq(&self, other: &DescriptorType) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &DescriptorType) -> bool
[src]
fn ne(&self, other: &DescriptorType) -> bool
[src]This method tests for !=
.
impl Copy for DescriptorType
[src]
impl Eq for DescriptorType
[src]
impl StructuralEq for DescriptorType
[src]
impl StructuralPartialEq for DescriptorType
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more