Expand description

This crate provides “checked” raw pointers.

We found ourselves to be experiencing a lot of cognitive overhead when doing FFI interactions. A non-insignificant portion of them came from raw pointers, as_ptr, as_mut_ptr, and the like. This removes that cognitive overhead.

And as Amos once said, “Until we demand better of our tools, we are doomed to be woken up in the middle of the night, over and over again, because some nil value slipped in where it never should have.”. That is, we are doomed to repeat the same mistakes over and over again. So we must demand better of our tools!

Structs

*const T with a lifetime.

*mut T with a lifetime.

Traits

Trait for conversion into a ConstLtPtr.

Trait for conversion into a MutLtPtr.

Trait for conversion from a ConstLtPtr of the given Source type.

Additional slice methods.