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