Trait bliss_audio_aubio_rs::AsNativeStr [−][src]
pub trait AsNativeStr { fn as_native_str(&self) -> &'static str; fn as_native_cstr(&self) -> *const c_char { ... } fn as_rust_str(&self) -> &'static str { ... } }
Expand description
The trait for null-terminated string constants
Required methods
fn as_native_str(&self) -> &'static str
[src]
Expand description
Implementations should return strings ended with ‘\0’
(for ex.: "energy\0"
)
Provided methods
fn as_native_cstr(&self) -> *const c_char
[src]
Expand description
Get constant as null-terminated C-string
fn as_rust_str(&self) -> &'static str
[src]
Expand description
Get constant as rust string slice
Implementors
impl AsNativeStr for OnsetMode
[src]
impl AsNativeStr for OnsetMode
[src]fn as_native_str(&self) -> &'static str
[src]
impl AsNativeStr for PitchMode
[src]
impl AsNativeStr for PitchMode
[src]fn as_native_str(&self) -> &'static str
[src]
impl AsNativeStr for PitchUnit
[src]
impl AsNativeStr for PitchUnit
[src]fn as_native_str(&self) -> &'static str
[src]
impl AsNativeStr for SpecShape
[src]
impl AsNativeStr for SpecShape
[src]fn as_native_str(&self) -> &'static str
[src]
impl AsNativeStr for WindowType
[src]
impl AsNativeStr for WindowType
[src]