pub trait InsertDrawable<S: Clone>: InsertShapeBox {
// Required methods
fn insert(&mut self, index: usize, drawable: Drawable<S>);
fn insert_above(&mut self, drawable: Drawable<S>);
fn insert_under(&mut self, drawable: Drawable<S>);
}Required Methods§
fn insert(&mut self, index: usize, drawable: Drawable<S>)
fn insert_above(&mut self, drawable: Drawable<S>)
fn insert_under(&mut self, drawable: Drawable<S>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".