Trait simple_blit::SurfaceMut
source · pub trait SurfaceMut<T>: Surface<T> {
// Required method
fn surface_get_mut(&mut self, pt: Point) -> Option<&mut T>;
}Expand description
2D mutable surface trait.
Required Methods§
sourcefn surface_get_mut(&mut self, pt: Point) -> Option<&mut T>
fn surface_get_mut(&mut self, pt: Point) -> Option<&mut T>
Get a mutable value at (pt.x, pt.y).