Skip to main content

IPhysics2DRaycasterMethods

Trait IPhysics2DRaycasterMethods 

Source
pub trait IPhysics2DRaycasterMethods: IPhysics2DRaycaster {
    // Provided methods
    fn ctor(self) { ... }
    fn raycast(
        self,
        event_data: impl Into<PointerEventData>,
        result_append_list: impl Into<List_1<RaycastResult>>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn raycast( self, event_data: impl Into<PointerEventData>, result_append_list: impl Into<List_1<RaycastResult>>, )

Raycast(crate::unity_engine::event_systems::pointereventdata::PointerEventData, crate::system::collections::generic::list_1::List_1<crate::unity_engine::event_systems::raycastresult::RaycastResult>) 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: IPhysics2DRaycaster> IPhysics2DRaycasterMethods for __T

Available on crate feature unity_engine-event_systems-physics2draycaster only.