Skip to main content

ICommonRingControllerMethods

Trait ICommonRingControllerMethods 

Source
pub trait ICommonRingControllerMethods: ICommonRingController {
    // Provided methods
    fn on_destroy(self) { ... }
    fn set_color(self, ring_data: impl Into<RingData>) { ... }
    fn set_position(self, value: impl Into<Vector3>) { ... }
    fn set_rotation(self, value: impl Into<Quaternion>) { ... }
    fn set_scale(self, value: impl Into<Vector3>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn set_color(self, ring_data: impl Into<RingData>)

SetColor(crate::app::ringdata::RingData) overload

Source

fn set_position(self, value: impl Into<Vector3>)

set_Position(crate::unity_engine::vector3::Vector3) overload

Source

fn set_rotation(self, value: impl Into<Quaternion>)

set_Rotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn set_scale(self, value: impl Into<Vector3>)

set_Scale(crate::unity_engine::vector3::Vector3) overload

Source

fn ctor(self)

.ctor() 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: ICommonRingController> ICommonRingControllerMethods for __T

Available on crate feature app-commonringcontroller only.