pub trait RenderHelper {
// Required methods
fn rand_offset(&self, x: f64, options: &RoughOptions) -> f64;
fn rand_offset_with_range(
&self,
min: f64,
max: f64,
options: &RoughOptions,
) -> f64;
fn ellipse(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &RoughOptions,
) -> OpSet;
fn double_line_ops(
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &RoughOptions,
) -> Vec<Op>;
}Required Methods§
fn rand_offset(&self, x: f64, options: &RoughOptions) -> f64
fn rand_offset_with_range( &self, min: f64, max: f64, options: &RoughOptions, ) -> f64
fn ellipse( &self, x: f64, y: f64, width: f64, height: f64, options: &RoughOptions, ) -> OpSet
fn double_line_ops( &self, x1: f64, y1: f64, x2: f64, y2: f64, options: &RoughOptions, ) -> Vec<Op>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".