Struct spirv_reflect::types::variable::ReflectBlockVariable
source · pub struct ReflectBlockVariable {
pub spirv_id: u32,
pub name: String,
pub offset: u32,
pub absolute_offset: u32,
pub size: u32,
pub padded_size: u32,
pub decoration_flags: ReflectDecorationFlags,
pub numeric: ReflectNumericTraits,
pub array: ReflectArrayTraits,
pub members: Vec<ReflectBlockVariable>,
pub type_description: Option<ReflectTypeDescription>,
}
Fields
spirv_id: u32
name: String
offset: u32
absolute_offset: u32
size: u32
padded_size: u32
decoration_flags: ReflectDecorationFlags
numeric: ReflectNumericTraits
array: ReflectArrayTraits
members: Vec<ReflectBlockVariable>
type_description: Option<ReflectTypeDescription>
Trait Implementations
sourceimpl Clone for ReflectBlockVariable
impl Clone for ReflectBlockVariable
sourcefn clone(&self) -> ReflectBlockVariable
fn clone(&self) -> ReflectBlockVariable
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 ReflectBlockVariable
impl Debug for ReflectBlockVariable
sourceimpl Default for ReflectBlockVariable
impl Default for ReflectBlockVariable
sourcefn default() -> ReflectBlockVariable
fn default() -> ReflectBlockVariable
Returns the “default value” for a type. Read more
sourceimpl Serialize for ReflectBlockVariable
impl Serialize for ReflectBlockVariable
Auto Trait Implementations
impl RefUnwindSafe for ReflectBlockVariable
impl Send for ReflectBlockVariable
impl Sync for ReflectBlockVariable
impl Unpin for ReflectBlockVariable
impl UnwindSafe for ReflectBlockVariable
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