Struct naga_oil::compose::ComposableModuleDescriptor
source · pub struct ComposableModuleDescriptor<'a> {
pub source: &'a str,
pub file_path: &'a str,
pub language: ShaderLanguage,
pub as_name: Option<String>,
pub additional_imports: &'a [ImportDefinition],
pub shader_defs: HashMap<String, ShaderDefValue>,
}
Fields§
§source: &'a str
§file_path: &'a str
§language: ShaderLanguage
§as_name: Option<String>
§additional_imports: &'a [ImportDefinition]
§shader_defs: HashMap<String, ShaderDefValue>
Trait Implementations§
source§impl<'a> Default for ComposableModuleDescriptor<'a>
impl<'a> Default for ComposableModuleDescriptor<'a>
source§fn default() -> ComposableModuleDescriptor<'a>
fn default() -> ComposableModuleDescriptor<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ComposableModuleDescriptor<'a>
impl<'a> RefUnwindSafe for ComposableModuleDescriptor<'a>
impl<'a> Send for ComposableModuleDescriptor<'a>
impl<'a> Sync for ComposableModuleDescriptor<'a>
impl<'a> Unpin for ComposableModuleDescriptor<'a>
impl<'a> UnwindSafe for ComposableModuleDescriptor<'a>
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