Skip to main content

IReflectionMethodsCache_GetRaycastNonAllocCallbackMethods

Trait IReflectionMethodsCache_GetRaycastNonAllocCallbackMethods 

Source
pub trait IReflectionMethodsCache_GetRaycastNonAllocCallbackMethods: IReflectionMethodsCache_GetRaycastNonAllocCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        r: impl Into<Ray>,
        results: impl Into<Array<RaycastHit>>,
        f: impl Into<f32>,
        i: impl Into<i32>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, r: impl Into<Ray>, results: impl Into<Array<RaycastHit>>, f: impl Into<f32>, i: impl Into<i32>, ) -> i32

Invoke(crate::unity_engine::ray::Ray, ::unity::Array<crate::unity_engine::raycasthit::RaycastHit>, f32, i32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IReflectionMethodsCache_GetRaycastNonAllocCallback> IReflectionMethodsCache_GetRaycastNonAllocCallbackMethods for __T

Available on crate feature unity_engine-ui-reflectionmethodscache only.