pub struct UserCallbacks {
pub initialize_ffi: fn(*const c_void, *mut c_void) -> Result<(), String>,
pub load_class_method_table: fn(u32),
}Expand description
Callbacks that users must provide to integrate with their godot-rust version
Fields§
§initialize_ffi: fn(*const c_void, *mut c_void) -> Result<(), String>Initialize godot-rust FFI
load_class_method_table: fn(u32)Load class method table for given init level
Auto Trait Implementations§
impl Freeze for UserCallbacks
impl RefUnwindSafe for UserCallbacks
impl Send for UserCallbacks
impl Sync for UserCallbacks
impl Unpin for UserCallbacks
impl UnwindSafe for UserCallbacks
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