Skip to main content

ICamera_CameraCallbackMethods

Trait ICamera_CameraCallbackMethods 

Source
pub trait ICamera_CameraCallbackMethods: ICamera_CameraCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, cam: impl Into<Camera>) { ... }
}

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, cam: impl Into<Camera>)

Invoke(crate::unity_engine::camera::Camera) 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: ICamera_CameraCallback> ICamera_CameraCallbackMethods for __T

Available on crate feature unity_engine-camera only.