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
LtPtr *const T
with a lifetime.- MutLt
Ptr *mut T
with a lifetime.
Traits§
- AsLtPtr
- Trait for conversion into a
ConstLtPtr
. - AsMut
LtPtr - Trait for conversion into a
MutLtPtr
. - From
LtPtr - Trait for conversion from a
ConstLtPtr
of the givenSource
type. - Slice
Ext - Additional slice methods.