pub struct ShaderConfig {
pub constants: Option<IndexMap<String, Value>>,
pub functions: Option<IndexMap<String, String>>,
pub output: IndexMap<String, String>,
pub source: String,
}
Fields§
§constants: Option<IndexMap<String, Value>>
§functions: Option<IndexMap<String, String>>
§output: IndexMap<String, String>
§source: String
Trait Implementations§
Source§impl Debug for ShaderConfig
impl Debug for ShaderConfig
Source§impl<'de> Deserialize<'de> for ShaderConfig
impl<'de> Deserialize<'de> for ShaderConfig
Source§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 Freeze for ShaderConfig
impl RefUnwindSafe for ShaderConfig
impl Send for ShaderConfig
impl Sync for ShaderConfig
impl Unpin for ShaderConfig
impl UnwindSafe for ShaderConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more