pub struct ShaderSourceWGSL {
pub code: Option<String>,
}Fields§
§code: Option<String>Implementations§
Trait Implementations§
Source§impl Default for ShaderSourceWGSL
impl Default for ShaderSourceWGSL
Source§impl From<ShaderSourceWGSL> for ShaderModuleDescriptorExtension
impl From<ShaderSourceWGSL> for ShaderModuleDescriptorExtension
Source§fn from(ext: ShaderSourceWGSL) -> Self
fn from(ext: ShaderSourceWGSL) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShaderSourceWGSL
impl RefUnwindSafe for ShaderSourceWGSL
impl Send for ShaderSourceWGSL
impl Sync for ShaderSourceWGSL
impl Unpin for ShaderSourceWGSL
impl UnsafeUnpin for ShaderSourceWGSL
impl UnwindSafe for ShaderSourceWGSL
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