Function wpilib_sys::usage::report_usage_extras
source · pub fn report_usage_extras<F: AsRef<[u8]>>(
resource: UsageResourceType,
instance: UsageResourceInstance,
context: i32,
feature: F
) -> i64Expand description
This is provided as a utility for library developers.
Designed to be used with null-terminated byte string literals like b"message\0"
Panics
If the underlying byte slice is not null-terminated, the function will panic