/// Returns information about the entry point with the provided name and execution model. Returns
/// `None` if no entry and execution model exists in the shader module.
Returns information about the entry point with the provided name and execution model. Returns
`None` if no entry and execution model exists in the shader module.
Returns information about the entry point with the provided name and execution model . Returns ` None ` if no entry and execution model exists in the shader module .
pub fn entry_point_with_execution<'a>(
        &'a self,
        name: &str,
        execution: ExecutionModel,
    ) -> Option<EntryPoint<'a>> {
        self.entry_points.get(name).and_then(|infos| {
            infos.get(&execution).map(|info| EntryPoint {
                module: self,
                name: CString::new(name).unwrap(),
                info,
            })
        })
    }
pub fn entry_point_with_execution < ' a > ( & ' a self , name : & str , execution : ExecutionModel , ) -> Option < EntryPoint < ' a > > { self . entry_points . get ( name ) . and_then ( | infos | { infos . get ( & execution ) . map ( | info | EntryPoint { module : self , name : CString :: new ( name ) . unwrap ( ) , info , } ) } ) }
Returns information about the entry point with the provided name and execution model.
Returns information about the entry point with the provided name and execution model .
&'a self
name
&str
execution
ExecutionModel