Skip to main content

IICanvasElementMethods

Trait IICanvasElementMethods 

Source
pub trait IICanvasElementMethods: IICanvasElement {
    // Provided methods
    fn rebuild(self, executing: impl Into<CanvasUpdate>) { ... }
    fn get_transform(self) -> Transform { ... }
    fn layout_complete(self) { ... }
    fn graphic_update_complete(self) { ... }
    fn is_destroyed(self) -> bool { ... }
}

Provided Methods§

Source

fn rebuild(self, executing: impl Into<CanvasUpdate>)

Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate) overload

Source

fn get_transform(self) -> Transform

get_transform() overload

Source

fn layout_complete(self)

LayoutComplete() overload

Source

fn graphic_update_complete(self)

GraphicUpdateComplete() overload

Source

fn is_destroyed(self) -> bool

IsDestroyed() 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: IICanvasElement> IICanvasElementMethods for __T

Available on crate feature unity_engine-ui-icanvaselement only.