pub trait DrawableMut: Drawable {
// Provided methods
fn draw_mut<T: Drawer>(&mut self, window: &mut T) { ... }
fn draw_with_context_mut(&mut self, context: &mut Context<'_>) { ... }
}Provided Methods§
Sourcefn draw_with_context_mut(&mut self, context: &mut Context<'_>)
fn draw_with_context_mut(&mut self, context: &mut Context<'_>)
Mutable draw context function.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".