Dear ImGui Memory Editor Rust Bindings
Usage
This package is intended to be used with imgui-rs.
You can either use memory using a custom struct and closures or a slice.
Using a Slice
let mut vec = vec!;
// Can also use a &mut [u8] if you want to use the editor to modify the slice
let mut memory_editor = new
.draw_window // Can omit if you don't want to create a window
.read_only;
// In your main loop, draw the memory editor with draw_vec()
if memory_editor.open
Using a Custom Struct
let mut mem = new; // Custom struct
let mut times_written = 0; // Variable captured in closure
let mut memory_editor = new
.draw_window
.read_only
.mem_size
.read_fn
.write_fn;
// In your main loop, draw the memory editor with draw()
if memory_editor.open