pub trait AdvancedShapesExt {
// Required methods
fn round_rect(&self, x: f64, y: f64, width: f64, height: f64, radius: f64);
fn polygon(&self, x: f64, y: f64, radius: f64, n: usize);
fn star(&self, x: f64, y: f64, points: usize, outer: f64, inner: f64);
}Required Methods§
fn round_rect(&self, x: f64, y: f64, width: f64, height: f64, radius: f64)
fn polygon(&self, x: f64, y: f64, radius: f64, n: usize)
fn star(&self, x: f64, y: f64, points: usize, outer: f64, inner: f64)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".