pub trait ToReference<T> {
// Required method
unsafe fn to_ref(self) -> T;
}
Expand description
Accessing nested pointers is so annoying in Rust. Use for to make process a lot less annoying.
pub trait ToReference<T> {
// Required method
unsafe fn to_ref(self) -> T;
}
Accessing nested pointers is so annoying in Rust. Use for to make process a lot less annoying.