Enum naga::Binding [−][src]
pub enum Binding {
BuiltIn(BuiltIn),
Location {
location: u32,
interpolation: Option<Interpolation>,
sampling: Option<Sampling>,
},
}
Expand description
Describes how an input/output variable is to be bound.
Variants
BuiltIn(BuiltIn)
Built-in shader variable.
Tuple Fields of BuiltIn
0: BuiltIn
Indexed location.
Fields of Location
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Binding
impl UnwindSafe for Binding
Blanket Implementations
Mutably borrows from an owned value. Read more