Struct unity_native_sys::IUnityInterfaces
source · #[repr(C)]pub struct IUnityInterfaces {
pub GetInterface: Option<unsafe extern "C" fn(guid: UnityInterfaceGUID) -> *mut IUnityInterface>,
pub RegisterInterface: Option<unsafe extern "C" fn(guid: UnityInterfaceGUID, ptr: *mut IUnityInterface)>,
pub GetInterfaceSplit: Option<unsafe extern "C" fn(guidHigh: c_ulonglong, guidLow: c_ulonglong) -> *mut IUnityInterface>,
pub RegisterInterfaceSplit: Option<unsafe extern "C" fn(guidHigh: c_ulonglong, guidLow: c_ulonglong, ptr: *mut IUnityInterface)>,
}
Fields§
§GetInterface: Option<unsafe extern "C" fn(guid: UnityInterfaceGUID) -> *mut IUnityInterface>
§RegisterInterface: Option<unsafe extern "C" fn(guid: UnityInterfaceGUID, ptr: *mut IUnityInterface)>
§GetInterfaceSplit: Option<unsafe extern "C" fn(guidHigh: c_ulonglong, guidLow: c_ulonglong) -> *mut IUnityInterface>
§RegisterInterfaceSplit: Option<unsafe extern "C" fn(guidHigh: c_ulonglong, guidLow: c_ulonglong, ptr: *mut IUnityInterface)>
Trait Implementations§
source§impl Clone for IUnityInterfaces
impl Clone for IUnityInterfaces
source§fn clone(&self) -> IUnityInterfaces
fn clone(&self) -> IUnityInterfaces
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IUnityInterfaces
impl Debug for IUnityInterfaces
source§impl Default for IUnityInterfaces
impl Default for IUnityInterfaces
source§fn default() -> IUnityInterfaces
fn default() -> IUnityInterfaces
Returns the “default value” for a type. Read more
impl Copy for IUnityInterfaces
Auto Trait Implementations§
impl Freeze for IUnityInterfaces
impl RefUnwindSafe for IUnityInterfaces
impl Send for IUnityInterfaces
impl Sync for IUnityInterfaces
impl Unpin for IUnityInterfaces
impl UnwindSafe for IUnityInterfaces
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)