1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// SPDX-License-Identifier: MPL-2.0 use crate::prelude::*; impl Ui { // pub fn create_table_model(&self) -> Model { // call_libui_new_fn!( // ui: self, // fn: uiNewTableModel() -> Model, // ) // } } pub struct Model { ptr: *mut uiTableModel, } impl_as_ptr!(Model as uiTableModel, |this: &Self| this.ptr);