pub struct ShaderModule {
    pub(crate) raw: ManuallyDrop<Box<dyn DynShaderModule>>,
    pub(crate) device: Arc<Device>,
    pub(crate) interface: Option<Interface>,
    pub(crate) label: String,
}Fields§
§raw: ManuallyDrop<Box<dyn DynShaderModule>>§device: Arc<Device>§interface: Option<Interface>§label: StringThe label from the descriptor used to create the resource.
Implementations§
Source§impl ShaderModule
 
impl ShaderModule
pub(crate) fn raw(&self) -> &dyn DynShaderModule
pub(crate) fn finalize_entry_point_name( &self, stage_bit: ShaderStages, entry_point: Option<&str>, ) -> Result<String, StageError>
Trait Implementations§
Source§impl Debug for ShaderModule
 
impl Debug for ShaderModule
Source§impl Drop for ShaderModule
 
impl Drop for ShaderModule
Source§impl Labeled for ShaderModule
 
impl Labeled for ShaderModule
Source§fn label(&self) -> &str
 
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
Source§impl ParentDevice for ShaderModule
 
impl ParentDevice for ShaderModule
Source§impl ResourceType for ShaderModule
 
impl ResourceType for ShaderModule
Source§impl StorageItem for ShaderModule
 
impl StorageItem for ShaderModule
type Marker = ShaderModule
Auto Trait Implementations§
impl Freeze for ShaderModule
impl !RefUnwindSafe for ShaderModule
impl Send for ShaderModule
impl Sync for ShaderModule
impl Unpin for ShaderModule
impl !UnwindSafe for ShaderModule
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