Module rs::util::c

source · []

Structs

Similar to Wrapped, except thread-safe.

Wraps structures to pass them safely to/from C Since C doesn’t respect borrowing rules, RefCell will enforce them dynamically (only 1 writer/many readers) Rc is implied and will ensure timely dropping

Traits

Marker trait for values that can be transferred to/received from C. They must be either *const or *mut or repr(transparent).

Functions