Struct spirv_reflect::types::variable::ReflectInterfaceVariable
source · pub struct ReflectInterfaceVariable {Show 13 fields
pub spirv_id: u32,
pub name: String,
pub location: u32,
pub storage_class: ReflectStorageClass,
pub semantic: String,
pub decoration_flags: ReflectDecorationFlags,
pub built_in: ReflectBuiltIn,
pub numeric: ReflectNumericTraits,
pub array: ReflectArrayTraits,
pub members: Vec<ReflectInterfaceVariable>,
pub format: ReflectFormat,
pub type_description: Option<ReflectTypeDescription>,
pub word_offset: u32,
/* private fields */
}Fields
spirv_id: u32name: Stringlocation: u32storage_class: ReflectStorageClasssemantic: Stringdecoration_flags: ReflectDecorationFlagsbuilt_in: ReflectBuiltInnumeric: ReflectNumericTraitsarray: ReflectArrayTraitsmembers: Vec<ReflectInterfaceVariable>format: ReflectFormattype_description: Option<ReflectTypeDescription>word_offset: u32Trait Implementations
sourceimpl Clone for ReflectInterfaceVariable
impl Clone for ReflectInterfaceVariable
sourcefn clone(&self) -> ReflectInterfaceVariable
fn clone(&self) -> ReflectInterfaceVariable
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 ReflectInterfaceVariable
impl Debug for ReflectInterfaceVariable
sourceimpl Serialize for ReflectInterfaceVariable
impl Serialize for ReflectInterfaceVariable
Auto Trait Implementations
impl RefUnwindSafe for ReflectInterfaceVariable
impl !Send for ReflectInterfaceVariable
impl !Sync for ReflectInterfaceVariable
impl Unpin for ReflectInterfaceVariable
impl UnwindSafe for ReflectInterfaceVariable
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