unmem

Crates.iounmem
lib.rsunmem
version0.2.6
sourcesrc
created_at2022-06-03 11:54:05.024916
updated_at2022-09-03 11:24:37.479578
descriptionBeware!
homepage
repositoryhttps://github.com/mrMiiao/unmem
max_upload_size
id599240
(mrMiiao)

documentation

README

[![crates.io](https://img.shields.io/crates/v/unmem.svg)](https://crates.io/crates/unmem) [![License](https://img.shields.io/crates/l/unmem.svg)](https://choosealicense.com/licenses/mpl-2.0/) [![Documentation](https://img.shields.io/docsrs/unmem/latest)](https://docs.rs/unmem) # unmem Some memory working stuff. Examples: ```rust extern crate unmem; use unmem::change; fn main() { let a: u8 = 6; change(&a, 255); println!("{a}"); // >> 255 } ``` ```rust extern crate unmem; use unmem::get_mut; fn main() { let a: u8 = 15; let mut mut_a = get_mut(&a); *mut_a = 8; println!("{a}"); // >> 8 } ```
Commit count: 14

cargo fmt