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

Method fory_write

rust/fory-core/src/serializer/refcell.rs:90–106  ·  view source on GitHub ↗
(
        &self,
        context: &mut WriteContext,
        ref_mode: RefMode,
        write_type_info: bool,
        has_generics: bool,
    )

Source from the content-addressed store, hash-verified

88
89 #[inline(always)]
90 fn fory_write(
91 &self,
92 context: &mut WriteContext,
93 ref_mode: RefMode,
94 write_type_info: bool,
95 has_generics: bool,
96 ) -> Result<(), Error> {
97 // Don't add ref tracking for RefCell itself, just delegate to inner type
98 // The inner type will handle its own ref tracking
99 T::fory_write(
100 &*self.borrow(),
101 context,
102 ref_mode,
103 write_type_info,
104 has_generics,
105 )
106 }
107
108 #[inline(always)]
109 fn fory_write_data_generic(

Callers

nothing calls this directly

Calls 1

borrowMethod · 0.80

Tested by

no test coverage detected