Struct naga::Constant [−][src]
pub struct Constant { pub name: Option<String>, pub specialization: Option<u32>, pub inner: ConstantInner, }
Expand description
Constant value.
Fields
name: Option<String>
specialization: Option<u32>
inner: ConstantInner
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 Constant
impl UnwindSafe for Constant