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