Struct librashader_reflect::reflect::semantics::Semantic
source · pub struct Semantic<T, I = usize> {
pub semantics: T,
pub index: I,
}Expand description
A unit of unique or indexed semantic.
Fields§
§semantics: TThe semantics of this unit.
index: IThe index of the semantic if not unique.
Trait Implementations§
source§impl From<Semantic<TextureSemantics, usize>> for UniformBinding
impl From<Semantic<TextureSemantics, usize>> for UniformBinding
source§fn from(value: Semantic<TextureSemantics>) -> Self
fn from(value: Semantic<TextureSemantics>) -> Self
Converts to this type from the input type.