Wrappers

Wrappers are very common when using a library designed for another language. They work by exposing a higher-level function name that hides the true method working underneath. The exposed function name is commonly known as the library interface API. By only exposing the higher-level function name, Rust is able to keep the unsafe part away from the rest of the world.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset