Borrow checking for C struct field
Imagine that C API exposes opaque pointer to some data and two accessors to some field void set_string(struct foo*, const char*)
and const char* get_string(struct foo*)
and that documentation states something along the lines
Rust FFI works fine until I try and use std::cout/std::vector etc
Hello I am trying to create a small example to show how to call C/C++ code in rust.