cbox 0.3.0

C pointer boxing, for when working with ffi

Crate cbox [] [src]

Provides two types, CSemiBox and DisposeRef

Structs

CBox

A wrapper for pointers made by C that are now completely owned by Rust, so they are not limited by any lifetimes.

CSemiBox

A wrapper for pointers made by C that are now partially owned in Rust.

Traits

DisposeRef

Implemented by any type of which its reference represents a C pointer that can be disposed.