pub unsafe extern "C" fn ecs_ptr_to_str_buf(
world: *const ecs_world_t,
type_: ecs_entity_t,
data: *const c_void,
buf: *mut ecs_strbuf_t,
) -> c_intExpand description
Serialize value into string buffer. Same as ecs_ptr_to_str, but serializes to an ecs_strbuf_t instance.
@param world The world. @param type The type of the value to serialize. @param data The value to serialize. @param buf The strbuf to append the string to. @return Zero if success, non-zero if failed.