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

Function is_debug_enabled

rust/fory-derive/src/object/util.rs:91–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91pub(super) fn is_debug_enabled() -> bool {
92 MACRO_CONTEXT.with(|ctx| {
93 ctx.borrow()
94 .as_ref()
95 .map(|c| c.debug_enabled)
96 .unwrap_or(false)
97 })
98}
99
100fn is_forward_field(ty: &Type) -> bool {
101 let struct_name = match get_struct_name() {

Callers 3

gen_write_dataFunction · 0.85

Calls 2

borrowMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected