55
[BLOG] Why Rust mutexes look like they do - Cliffle
(cliffle.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
They were also plain C functions in my case, but it doesn't take too much discipline to only call it through the struct. Also, you can put the struct in a different crate which includes the C bindings to ensure that you can't call the C bindings without the struct.