Function glfw::with_c_str [−][src]
pub fn with_c_str<F, T>(s: &str, f: F) -> T where
F: FnOnce(*const c_char) -> T,
Expand description
Replacement for ToCStr::with_c_str
pub fn with_c_str<F, T>(s: &str, f: F) -> T where
F: FnOnce(*const c_char) -> T,
Replacement for ToCStr::with_c_str