pub enum ShaderModuleSource {
Naga(NagaShader),
Passthrough {
source: String,
},
}Available on
gles only.Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShaderModuleSource
impl RefUnwindSafe for ShaderModuleSource
impl Send for ShaderModuleSource
impl Sync for ShaderModuleSource
impl Unpin for ShaderModuleSource
impl UnsafeUnpin for ShaderModuleSource
impl UnwindSafe for ShaderModuleSource
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