pub enum VirtualShader {
File {
path: String,
kind: ShaderKind,
name: String,
entry_point: String,
},
Source {
source: String,
kind: ShaderKind,
name: String,
entry_point: String,
},
}
Expand description
Meta Representations of real shaders to use for easy compilation
Variants§
Trait Implementations§
Source§impl Clone for VirtualShader
impl Clone for VirtualShader
Source§fn clone(&self) -> VirtualShader
fn clone(&self) -> VirtualShader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VirtualShader
impl RefUnwindSafe for VirtualShader
impl Send for VirtualShader
impl Sync for VirtualShader
impl Unpin for VirtualShader
impl UnwindSafe for VirtualShader
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