pub unsafe extern "C" fn nn_model_resource_name(
    resource: *const NNModelResource
) -> *const c_char
Expand description

The unique name of the resource as can be used to retrieve the resource using @ref nn_model_resource().

@param resource pointer to a @ref NNModelResource retrieved from the model.

@returns A string with the name of the resource. @returns NULL if the resource or name is NULL.

@public @memberof NNModelResource @since 2.4