[−][src]Trait aubio_rs::AsNativeStr
The trait for null-terminated string constants
Required methods
fn as_native_str(&self) -> &'static str
Implementations should return strings ended with '\0'
(for ex.: "energy\0"
)
Provided methods
fn as_native_cstr(&self) -> *const c_char
Get constant as null-terminated C-string
fn as_rust_str(&self) -> &'static str
Get constant as rust string slice