pub trait DrawOpen: Context2DData {
// Provided methods
fn line(&self, p1: Point<i32>, p2: Point<i32>) { ... }
fn polyline(&self, points: &[Point<i32>]) { ... }
fn arc(&self, border: Rect<i32>, p1: Point<i32>, p2: Point<i32>) { ... }
fn angle_arc(&self, orgin: Point<i32>, radius: u32, start: f32, end: f32) { ... }
fn poly_bezier(&self, points: &[Point<i32>]) { ... }
}Provided Methods§
fn line(&self, p1: Point<i32>, p2: Point<i32>)
fn polyline(&self, points: &[Point<i32>])
fn arc(&self, border: Rect<i32>, p1: Point<i32>, p2: Point<i32>)
fn angle_arc(&self, orgin: Point<i32>, radius: u32, start: f32, end: f32)
fn poly_bezier(&self, points: &[Point<i32>])
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".