pub trait Lines {
// Required methods
fn line0(&mut self, lp: &LineParameters);
fn line1(&mut self, lp: &LineParameters, sx: i64, sy: i64);
fn line2(&mut self, lp: &LineParameters, ex: i64, ey: i64);
fn line3(&mut self, lp: &LineParameters, sx: i64, sy: i64, ex: i64, ey: i64);
fn semidot<F>(&mut self, cmp: F, xc1: i64, yc1: i64, xc2: i64, yc2: i64)
where F: Fn(i64) -> bool;
fn pie(&mut self, xc: i64, y: i64, x1: i64, y1: i64, x2: i64, y2: i64);
}
Required Methods§
fn line0(&mut self, lp: &LineParameters)
fn line1(&mut self, lp: &LineParameters, sx: i64, sy: i64)
fn line2(&mut self, lp: &LineParameters, ex: i64, ey: i64)
fn line3(&mut self, lp: &LineParameters, sx: i64, sy: i64, ex: i64, ey: i64)
fn semidot<F>(&mut self, cmp: F, xc1: i64, yc1: i64, xc2: i64, yc2: i64)
fn pie(&mut self, xc: i64, y: i64, x1: i64, y1: i64, x2: i64, y2: i64)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.