Enum wgpu_hal::ShaderInput
source · pub enum ShaderInput<'a> {
Naga(NagaShader),
SpirV(&'a [u32]),
}
Expand description
Shader input.
Variants§
Naga(NagaShader)
SpirV(&'a [u32])
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ShaderInput<'a>
impl<'a> Send for ShaderInput<'a>
impl<'a> Sync for ShaderInput<'a>
impl<'a> Unpin for ShaderInput<'a>
impl<'a> UnwindSafe for ShaderInput<'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