Skip to main content

IGradientMethods

Trait IGradientMethods 

Source
pub trait IGradientMethods: IGradient {
    // Provided methods
    fn cleanup(self) { ... }
    fn internal_equals(self, other: impl Into<IntPtr>) -> bool { ... }
    fn ctor(self) { ... }
    fn finalize(self) { ... }
    fn equals(self, o: impl Into<Object>) -> bool { ... }
    fn equals_2(self, other: impl Into<Gradient>) -> bool { ... }
    fn get_hash_code(self) -> i32 { ... }
}

Provided Methods§

Source

fn cleanup(self)

Cleanup() overload

Source

fn internal_equals(self, other: impl Into<IntPtr>) -> bool

Internal_Equals(::unity::IntPtr) overload

Source

fn ctor(self)

.ctor() overload

Source

fn finalize(self)

Finalize() overload

Source

fn equals(self, o: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn equals_2(self, other: impl Into<Gradient>) -> bool

Equals(crate::unity_engine::gradient::Gradient) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() 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: IGradient> IGradientMethods for __T

Available on crate feature unity_engine-gradient only.