pub type YUndoManager = UndoManager<AtomicPtr<c_void>>;
pub struct YUndoManager { /* private fields */ }