Skip to main content

IRectOffsetMethods

Trait IRectOffsetMethods 

Source
pub trait IRectOffsetMethods: IRectOffset {
Show 13 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, source_style: impl Into<Object>, source: impl Into<IntPtr>) { ... } fn finalize(self) { ... } fn to_string(self) -> Il2CppString { ... } fn destroy(self) { ... } fn get_left(self) -> i32 { ... } fn get_right(self) -> i32 { ... } fn get_top(self) -> i32 { ... } fn get_bottom(self) -> i32 { ... } fn get_horizontal(self) -> i32 { ... } fn get_vertical(self) -> i32 { ... } fn remove(self, rect: impl Into<Rect>) -> Rect { ... } fn remove_injected(self) -> (Rect, Rect) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, source_style: impl Into<Object>, source: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn finalize(self)

Finalize() overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn destroy(self)

Destroy() overload

Source

fn get_left(self) -> i32

get_left() overload

Source

fn get_right(self) -> i32

get_right() overload

Source

fn get_top(self) -> i32

get_top() overload

Source

fn get_bottom(self) -> i32

get_bottom() overload

Source

fn get_horizontal(self) -> i32

get_horizontal() overload

Source

fn get_vertical(self) -> i32

get_vertical() overload

Source

fn remove(self, rect: impl Into<Rect>) -> Rect

Remove(crate::unity_engine::rect::Rect) overload

Source

fn remove_injected(self) -> (Rect, Rect)

Remove_Injected(*mutcrate::unity_engine::rect::Rect, *mutcrate::unity_engine::rect::Rect) 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: IRectOffset> IRectOffsetMethods for __T

Available on crate feature unity_engine-rectoffset only.