Struct spirv_reflect::types::descriptor::ReflectDescriptorBinding
source · pub struct ReflectDescriptorBinding {Show 15 fields
pub spirv_id: u32,
pub name: String,
pub binding: u32,
pub input_attachment_index: u32,
pub set: u32,
pub descriptor_type: ReflectDescriptorType,
pub resource_type: ReflectResourceType,
pub image: ReflectImageTraits,
pub block: ReflectBlockVariable,
pub array: ReflectBindingArrayTraits,
pub count: u32,
pub uav_counter_id: u32,
pub uav_counter_binding: Option<Box<ReflectDescriptorBinding>>,
pub type_description: Option<ReflectTypeDescription>,
pub word_offset: ReflectDescriptorBindingSet,
/* private fields */
}
Fields
spirv_id: u32
name: String
binding: u32
input_attachment_index: u32
set: u32
descriptor_type: ReflectDescriptorType
resource_type: ReflectResourceType
image: ReflectImageTraits
block: ReflectBlockVariable
array: ReflectBindingArrayTraits
count: u32
uav_counter_id: u32
uav_counter_binding: Option<Box<ReflectDescriptorBinding>>
type_description: Option<ReflectTypeDescription>
word_offset: ReflectDescriptorBindingSet
Trait Implementations
sourceimpl Clone for ReflectDescriptorBinding
impl Clone for ReflectDescriptorBinding
sourcefn clone(&self) -> ReflectDescriptorBinding
fn clone(&self) -> ReflectDescriptorBinding
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 moresourceimpl Debug for ReflectDescriptorBinding
impl Debug for ReflectDescriptorBinding
sourceimpl Serialize for ReflectDescriptorBinding
impl Serialize for ReflectDescriptorBinding
Auto Trait Implementations
impl RefUnwindSafe for ReflectDescriptorBinding
impl !Send for ReflectDescriptorBinding
impl !Sync for ReflectDescriptorBinding
impl Unpin for ReflectDescriptorBinding
impl UnwindSafe for ReflectDescriptorBinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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