Struct naga_oil::compose::preprocess::PreprocessorMetaData
source · pub struct PreprocessorMetaData {
pub name: Option<String>,
pub imports: Vec<ImportDefWithOffset>,
pub defines: HashMap<String, ShaderDefValue>,
pub effective_defs: HashSet<String>,
}
Fields§
§name: Option<String>
§imports: Vec<ImportDefWithOffset>
§defines: HashMap<String, ShaderDefValue>
§effective_defs: HashSet<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreprocessorMetaData
impl RefUnwindSafe for PreprocessorMetaData
impl Send for PreprocessorMetaData
impl Sync for PreprocessorMetaData
impl Unpin for PreprocessorMetaData
impl UnwindSafe for PreprocessorMetaData
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