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