Struct spirv_reflect::ffi::SpvReflectDescriptorBinding
source · #[repr(C)]pub struct SpvReflectDescriptorBinding {Show 15 fields
pub spirv_id: u32,
pub name: *const c_char,
pub binding: u32,
pub input_attachment_index: u32,
pub set: u32,
pub descriptor_type: SpvReflectDescriptorType,
pub resource_type: SpvReflectResourceType,
pub image: SpvReflectImageTraits,
pub block: SpvReflectBlockVariable,
pub array: SpvReflectBindingArrayTraits,
pub count: u32,
pub uav_counter_id: u32,
pub uav_counter_binding: *mut SpvReflectDescriptorBinding,
pub type_description: *mut SpvReflectTypeDescription,
pub word_offset: SpvReflectDescriptorBinding__bindgen_ty_1,
}
Expand description
@struct SpvReflectDescriptorBinding
Fields
spirv_id: u32
name: *const c_char
binding: u32
input_attachment_index: u32
set: u32
descriptor_type: SpvReflectDescriptorType
resource_type: SpvReflectResourceType
image: SpvReflectImageTraits
block: SpvReflectBlockVariable
array: SpvReflectBindingArrayTraits
count: u32
uav_counter_id: u32
uav_counter_binding: *mut SpvReflectDescriptorBinding
type_description: *mut SpvReflectTypeDescription
word_offset: SpvReflectDescriptorBinding__bindgen_ty_1
Trait Implementations
sourceimpl Clone for SpvReflectDescriptorBinding
impl Clone for SpvReflectDescriptorBinding
sourcefn clone(&self) -> SpvReflectDescriptorBinding
fn clone(&self) -> SpvReflectDescriptorBinding
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 SpvReflectDescriptorBinding
impl Debug for SpvReflectDescriptorBinding
impl Copy for SpvReflectDescriptorBinding
Auto Trait Implementations
impl RefUnwindSafe for SpvReflectDescriptorBinding
impl !Send for SpvReflectDescriptorBinding
impl !Sync for SpvReflectDescriptorBinding
impl Unpin for SpvReflectDescriptorBinding
impl UnwindSafe for SpvReflectDescriptorBinding
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