Struct spirv_reflect::ffi::SpvReflectInterfaceVariable
source · #[repr(C)]pub struct SpvReflectInterfaceVariable {Show 14 fields
pub spirv_id: u32,
pub name: *const c_char,
pub location: u32,
pub storage_class: SpvStorageClass,
pub semantic: *const c_char,
pub decoration_flags: SpvReflectDecorationFlags,
pub built_in: SpvBuiltIn,
pub numeric: SpvReflectNumericTraits,
pub array: SpvReflectArrayTraits,
pub member_count: u32,
pub members: *mut SpvReflectInterfaceVariable,
pub format: SpvReflectFormat,
pub type_description: *mut SpvReflectTypeDescription,
pub word_offset: SpvReflectInterfaceVariable__bindgen_ty_1,
}
Expand description
@struct SpvReflectInterfaceVariable
Fields
spirv_id: u32
name: *const c_char
location: u32
storage_class: SpvStorageClass
semantic: *const c_char
decoration_flags: SpvReflectDecorationFlags
built_in: SpvBuiltIn
numeric: SpvReflectNumericTraits
array: SpvReflectArrayTraits
member_count: u32
members: *mut SpvReflectInterfaceVariable
format: SpvReflectFormat
type_description: *mut SpvReflectTypeDescription
word_offset: SpvReflectInterfaceVariable__bindgen_ty_1
Trait Implementations
sourceimpl Clone for SpvReflectInterfaceVariable
impl Clone for SpvReflectInterfaceVariable
sourcefn clone(&self) -> SpvReflectInterfaceVariable
fn clone(&self) -> SpvReflectInterfaceVariable
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 SpvReflectInterfaceVariable
impl Debug for SpvReflectInterfaceVariable
impl Copy for SpvReflectInterfaceVariable
Auto Trait Implementations
impl RefUnwindSafe for SpvReflectInterfaceVariable
impl !Send for SpvReflectInterfaceVariable
impl !Sync for SpvReflectInterfaceVariable
impl Unpin for SpvReflectInterfaceVariable
impl UnwindSafe for SpvReflectInterfaceVariable
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