Enum wgpu_core::pipeline::ShaderModuleSource
source · pub enum ShaderModuleSource<'a> {
Wgsl(Cow<'a, str>),
Naga(Cow<'static, Module>),
// some variants omitted
}
Variants§
Auto Trait Implementations§
impl<'a> Freeze for ShaderModuleSource<'a>
impl<'a> RefUnwindSafe for ShaderModuleSource<'a>
impl<'a> Send for ShaderModuleSource<'a>
impl<'a> Sync for ShaderModuleSource<'a>
impl<'a> Unpin for ShaderModuleSource<'a>
impl<'a> UnwindSafe for ShaderModuleSource<'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