pub enum ShaderInput<'a> {
Naga(NagaShader),
SpirV(&'a [u32]),
}
Expand description
Shader input.
Variants§
Naga(NagaShader)
SpirV(&'a [u32])
Auto Trait Implementations§
impl<'a> Freeze for ShaderInput<'a>
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