dear-imnodes 0.11.0

Safe, idiomatic Rust bindings for ImNodes (node editor for Dear ImGui)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::super::NodeEditor;
use crate::sys;

impl Drop for NodeEditor<'_> {
    fn drop(&mut self) {
        if !self.ended {
            self.bind();
            unsafe { sys::imnodes_EndNodeEditor() };
            self.ended = true;
        }
    }
}