(data: &ParamData, _: &[u32])
| 205 | type Patch = Self; |
| 206 | |
| 207 | fn patch(data: &ParamData, _: &[u32]) -> Result<Self::Patch, super::PatchError> { |
| 208 | data.downcast_ref() |
| 209 | .ok_or(super::PatchError::InvalidData) |
| 210 | .cloned() |
| 211 | } |
| 212 | |
| 213 | fn apply(&mut self, patch: Self::Patch) { |
| 214 | *self = patch; |
nothing calls this directly
no test coverage detected