Skip to main content

ISharedCanvasMethods

Trait ISharedCanvasMethods 

Source
pub trait ISharedCanvasMethods: ISharedCanvas {
    // Provided methods
    fn awake(self) { ... }
    fn on_destroy(self) { ... }
    fn force_destroy_canvas(self) { ... }
    fn show(self, v: impl Into<bool>) { ... }
    fn reconnect(self) { ... }
    fn clear_canvas(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn force_destroy_canvas(self)

ForceDestroyCanvas() overload

Source

fn show(self, v: impl Into<bool>)

Show(bool) overload

Source

fn reconnect(self)

Reconnect() overload

Source

fn clear_canvas(self)

ClearCanvas() 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: ISharedCanvas> ISharedCanvasMethods for __T

Available on crate feature combat-sharedcanvas only.