MCPcopy Create free account
hub / github.com/apache/fory / write_field

Method write_field

rust/fory-core/src/serializer/codec.rs:619–627  ·  view source on GitHub ↗
(value: &T, context: &mut WriteContext)

Source from the content-addressed store, hash-verified

617
618 #[inline(always)]
619 fn write_field(value: &T, context: &mut WriteContext) -> Result<(), Error> {
620 T::fory_write(
621 value,
622 context,
623 serializer_ref_mode::<T, NULLABLE, TRACK_REF>(),
624 field_write_type_info::<T>(context),
625 false,
626 )
627 }
628
629 #[inline(always)]
630 fn read_field(context: &mut ReadContext) -> Result<T, Error> {

Callers

nothing calls this directly

Calls 2

write_dataFunction · 0.85
write_i8Method · 0.80

Tested by

no test coverage detected