#[repr(C)]pub struct RustealRustCallbacks {
pub drop_rust_instance: extern "C" fn(handle: UObjectHandle, type_id: u64, rust_data: *mut u8),
pub invoke_rust_function: extern "C" fn(callback_id: u64, obj: UObjectHandle, params: *mut u8),
pub invoke_delegate_callback: extern "C" fn(callback_id: u64, params: *mut u8),
pub on_shutdown: extern "C" fn(),
pub construct_rust_instance: extern "C" fn(obj: UObjectHandle, type_id: u64, is_cdo: bool),
pub notify_pinned_destroyed: extern "C" fn(handle: UObjectHandle),
pub on_tick: extern "C" fn(delta_seconds: f32),
}Fields§
§drop_rust_instance: extern "C" fn(handle: UObjectHandle, type_id: u64, rust_data: *mut u8)§invoke_rust_function: extern "C" fn(callback_id: u64, obj: UObjectHandle, params: *mut u8)§invoke_delegate_callback: extern "C" fn(callback_id: u64, params: *mut u8)§on_shutdown: extern "C" fn()§construct_rust_instance: extern "C" fn(obj: UObjectHandle, type_id: u64, is_cdo: bool)§notify_pinned_destroyed: extern "C" fn(handle: UObjectHandle)§on_tick: extern "C" fn(delta_seconds: f32)Auto Trait Implementations§
impl Freeze for RustealRustCallbacks
impl RefUnwindSafe for RustealRustCallbacks
impl Send for RustealRustCallbacks
impl Sync for RustealRustCallbacks
impl Unpin for RustealRustCallbacks
impl UnsafeUnpin for RustealRustCallbacks
impl UnwindSafe for RustealRustCallbacks
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