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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more