(&self, out: &mut [f32])
| 1218 | |
| 1219 | #[inline] |
| 1220 | pub fn write_packed(&self, out: &mut [f32]) -> Option<usize> { |
| 1221 | let len = Self::packed_len(); |
| 1222 | if out.len() < len { |
| 1223 | return None; |
| 1224 | } |
| 1225 | out[..len].copy_from_slice(self.as_slice()); |
| 1226 | Some(len) |
| 1227 | } |
| 1228 | |
| 1229 | #[inline] |
| 1230 | pub fn read_packed(input: &[f32]) -> Option<Self> { |
no test coverage detected