(
&self,
context: &mut WriteContext,
has_generics: bool,
)
| 217 | |
| 218 | #[inline(always)] |
| 219 | fn fory_write_data_generic( |
| 220 | &self, |
| 221 | context: &mut WriteContext, |
| 222 | has_generics: bool, |
| 223 | ) -> Result<(), Error> { |
| 224 | if is_primitive_type::<T>() { |
| 225 | primitive_list::fory_write_data(self.as_slice(), context) |
| 226 | } else { |
| 227 | write_collection_data(self.iter(), context, has_generics) |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | #[inline(always)] |
| 232 | fn fory_write_type_info(context: &mut WriteContext) -> Result<(), Error> { |
nothing calls this directly
no test coverage detected