pub struct ShaderContextParams {
pub defines: HashMap<String, String>,
pub includes: Vec<String>,
pub path_remapping: HashMap<PathBuf, PathBuf>,
}Fields§
§defines: HashMap<String, String>§includes: Vec<String>§path_remapping: HashMap<PathBuf, PathBuf>Trait Implementations§
Source§impl Clone for ShaderContextParams
impl Clone for ShaderContextParams
Source§fn clone(&self) -> ShaderContextParams
fn clone(&self) -> ShaderContextParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShaderContextParams
impl Debug for ShaderContextParams
Source§impl Default for ShaderContextParams
impl Default for ShaderContextParams
Source§fn default() -> ShaderContextParams
fn default() -> ShaderContextParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShaderContextParams
impl RefUnwindSafe for ShaderContextParams
impl Send for ShaderContextParams
impl Sync for ShaderContextParams
impl Unpin for ShaderContextParams
impl UnwindSafe for ShaderContextParams
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