(
&self,
store: &StoreOpaque,
instance: Option<&ComponentInstance>,
)
| 145 | } |
| 146 | |
| 147 | pub(crate) fn _typed<Params, Return>( |
| 148 | &self, |
| 149 | store: &StoreOpaque, |
| 150 | instance: Option<&ComponentInstance>, |
| 151 | ) -> Result<TypedFunc<Params, Return>> |
| 152 | where |
| 153 | Params: ComponentNamedList + Lower, |
| 154 | Return: ComponentNamedList + Lift, |
| 155 | { |
| 156 | self.typecheck::<Params, Return>(store, instance)?; |
| 157 | unsafe { Ok(TypedFunc::new_unchecked(*self)) } |
| 158 | } |
| 159 | |
| 160 | fn typecheck<Params, Return>( |
| 161 | &self, |