#[repr(C)]pub struct AnvilPanelService {
pub size: u32,
pub create: Option<unsafe extern "C" fn(title: *const c_char, out: *mut *mut AnvilPanel) -> AnvilResult>,
pub set_rows: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, rows: *const AnvilPanelRow, count: u32, row_size: u32) -> AnvilResult>,
pub on_click: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, click: AnvilPanelClick, context: *mut c_void) -> AnvilResult>,
pub show: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, shown: c_int) -> AnvilResult>,
pub shown: Option<unsafe extern "C" fn(panel: *const AnvilPanel) -> c_int>,
pub language: Option<unsafe extern "C" fn() -> *const c_char>,
}Fields§
§size: u32§create: Option<unsafe extern "C" fn(title: *const c_char, out: *mut *mut AnvilPanel) -> AnvilResult>§set_rows: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, rows: *const AnvilPanelRow, count: u32, row_size: u32) -> AnvilResult>§on_click: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, click: AnvilPanelClick, context: *mut c_void) -> AnvilResult>§show: Option<unsafe extern "C" fn(panel: *mut AnvilPanel, shown: c_int) -> AnvilResult>§shown: Option<unsafe extern "C" fn(panel: *const AnvilPanel) -> c_int>§language: Option<unsafe extern "C" fn() -> *const c_char>Trait Implementations§
Source§impl Clone for AnvilPanelService
impl Clone for AnvilPanelService
impl Copy for AnvilPanelService
Auto Trait Implementations§
impl Forget for AnvilPanelService
impl Freeze for AnvilPanelService
impl RefUnwindSafe for AnvilPanelService
impl Send for AnvilPanelService
impl Sync for AnvilPanelService
impl Unpin for AnvilPanelService
impl UnsafeUnpin for AnvilPanelService
impl UnwindSafe for AnvilPanelService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more