opaque handle
A pointer the other side may pass around but never look inside.
An opaque handle is a pointer to a type the foreign side can't see the layout of; only the owning library's functions create, use, and free it.
Loading interactive…
Examples
Box::into_raw(Box::new(playlist))hands C a*mut Playlistit can't look inside; C passes it back to a free function that callsBox::from_rawonce.