box_raw_ptr-0.1.0 has been yanked.
box_raw_ptr
box_raw_ptr is a Rust library providing safe wrappers for working with raw pointers,
specifically *const T and *mut T. These wrappers ensure memory safety by encapsulating
the raw pointers in safe abstractions and providing safe methods for working with them.
Features
- ConstRawPtr: A wrapper for
*const Tproviding methods for safely working with constant raw pointers. - MutRawPtr: A wrapper for
*mut Tproviding methods for safely working with mutable raw pointers.
Example
use ConstRawPtr;
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
License
This project is licensed under the MIT license. See the LICENSE file for details.
Contributions
Contributions are welcome! Please feel free to submit a pull request or open an issue on the GitHub repository.
extern crate box_raw_ptr;
use ConstRawPtr;