pub struct WgslShaderSource {
pub name: String,
pub source: String,
pub vertex_entry: String,
pub fragment_entry: String,
pub compute_entry: Option<String>,
}Expand description
WGSL Shader Definition.
Fields§
§name: String§source: String§vertex_entry: String§fragment_entry: String§compute_entry: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for WgslShaderSource
impl Clone for WgslShaderSource
Source§impl Debug for WgslShaderSource
impl Debug for WgslShaderSource
Source§impl PartialEq for WgslShaderSource
impl PartialEq for WgslShaderSource
impl StructuralPartialEq for WgslShaderSource
Auto Trait Implementations§
impl Forget for WgslShaderSource
impl Freeze for WgslShaderSource
impl Move for WgslShaderSource
impl RefUnwindSafe for WgslShaderSource
impl Send for WgslShaderSource
impl Sync for WgslShaderSource
impl Unpin for WgslShaderSource
impl UnsafeUnpin for WgslShaderSource
impl UnwindSafe for WgslShaderSource
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