pub trait IScaleFuncMethods: IScaleFunc {
// Provided methods
fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
fn invoke(self, size: impl Into<Vector2Int>) -> Vector2Int { ... }
}Provided Methods§
Sourcefn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)
fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)
.ctor(crate::system::object::Object, ::unity::IntPtr) overload
Sourcefn invoke(self, size: impl Into<Vector2Int>) -> Vector2Int
fn invoke(self, size: impl Into<Vector2Int>) -> Vector2Int
Invoke(crate::unity_engine::vector2int::Vector2Int) 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§
impl<__T: IScaleFunc> IScaleFuncMethods for __T
Available on crate feature
unity_engine-rendering-scalefunc only.