Skip to main content

IReflectionMethodsCache_GetRayIntersectionAllNonAllocCallbackMethods

Trait IReflectionMethodsCache_GetRayIntersectionAllNonAllocCallbackMethods 

Source
pub trait IReflectionMethodsCache_GetRayIntersectionAllNonAllocCallbackMethods: IReflectionMethodsCache_GetRayIntersectionAllNonAllocCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        r: impl Into<Ray>,
        results: impl Into<Array<RaycastHit2D>>,
        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<RaycastHit2D>>, f: impl Into<f32>, i: impl Into<i32>, ) -> i32

Invoke(crate::unity_engine::ray::Ray, ::unity::Array<crate::unity_engine::raycasthit2d::RaycastHit2D>, 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§