Struct spirv_layout::LocationVariable
source · [−]Expand description
Describes an input or output variable declared in a SPIRV module
Fields
location: u32
The location of the variable (e.g. GLSL layout(location=XXX)
)
type_id: u32
The type id of the variable’s Type
name: Option<String>
The variable’s name (if known)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LocationVariable
impl Send for LocationVariable
impl Sync for LocationVariable
impl Unpin for LocationVariable
impl UnwindSafe for LocationVariable
Blanket Implementations
Mutably borrows from an owned value. Read more