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§
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn force_destroy_canvas(self)
fn force_destroy_canvas(self)
ForceDestroyCanvas() overload
Sourcefn clear_canvas(self)
fn clear_canvas(self)
ClearCanvas() 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.