Enum screen_13::driver::DescriptorInfo
source · [−]pub enum DescriptorInfo {
AccelerationStructure(u32),
CombinedImageSampler(u32, Sampler),
InputAttachment(u32, u32),
SampledImage(u32),
Sampler(u32),
StorageBuffer(u32),
StorageBufferDynamic(u32),
StorageImage(u32),
StorageTexelBuffer(u32),
UniformBuffer(u32),
UniformBufferDynamic(u32),
UniformTexelBuffer(u32),
}Variants
AccelerationStructure(u32)
CombinedImageSampler(u32, Sampler)
InputAttachment(u32, u32)
SampledImage(u32)
Sampler(u32)
StorageBuffer(u32)
StorageBufferDynamic(u32)
StorageImage(u32)
StorageTexelBuffer(u32)
UniformBuffer(u32)
UniformBufferDynamic(u32)
UniformTexelBuffer(u32)
Implementations
sourceimpl DescriptorInfo
impl DescriptorInfo
pub fn binding_count(self) -> u32
pub fn sampler(self) -> Option<Sampler>
pub fn set_binding_count(&mut self, binding_count: u32)
Trait Implementations
sourceimpl Clone for DescriptorInfo
impl Clone for DescriptorInfo
sourcefn clone(&self) -> DescriptorInfo
fn clone(&self) -> DescriptorInfo
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 DescriptorInfo
impl Debug for DescriptorInfo
sourceimpl From<DescriptorInfo> for DescriptorType
impl From<DescriptorInfo> for DescriptorType
sourcefn from(descriptor_info: DescriptorInfo) -> Self
fn from(descriptor_info: DescriptorInfo) -> Self
Converts to this type from the input type.
sourceimpl Ord for DescriptorInfo
impl Ord for DescriptorInfo
sourceimpl PartialEq<DescriptorInfo> for DescriptorInfo
impl PartialEq<DescriptorInfo> for DescriptorInfo
sourcefn eq(&self, other: &DescriptorInfo) -> bool
fn eq(&self, other: &DescriptorInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescriptorInfo) -> bool
fn ne(&self, other: &DescriptorInfo) -> bool
This method tests for !=.
sourceimpl PartialOrd<DescriptorInfo> for DescriptorInfo
impl PartialOrd<DescriptorInfo> for DescriptorInfo
sourcefn partial_cmp(&self, other: &DescriptorInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &DescriptorInfo) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Copy for DescriptorInfo
impl Eq for DescriptorInfo
impl StructuralEq for DescriptorInfo
impl StructuralPartialEq for DescriptorInfo
Auto Trait Implementations
impl RefUnwindSafe for DescriptorInfo
impl Send for DescriptorInfo
impl Sync for DescriptorInfo
impl Unpin for DescriptorInfo
impl UnwindSafe for DescriptorInfo
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