(this: &[Self], serializer: S)
| 299 | #[doc(hidden)] |
| 300 | #[inline(always)] |
| 301 | fn __serialize_array<S: Serializer>(this: &[Self], serializer: S) -> Result<S::Ok, S::Error> |
| 302 | where |
| 303 | Self: Sized, |
| 304 | { |
| 305 | let mut vec = serializer.serialize_array(this.len())?; |
| 306 | for elem in this { |
| 307 | vec.serialize_element(elem)?; |
| 308 | } |
| 309 | vec.end() |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | /// The base trait serialization error types must implement. |
nothing calls this directly
no test coverage detected