pub trait BuildCycle {
    // Provided methods
    fn empty() -> Cycle { ... }
    fn circle(
        center: impl Into<Point<2>>,
        radius: impl Into<Scalar>,
        services: &mut Services
    ) -> Cycle { ... }
    fn polygon<P, Ps>(points: Ps, services: &mut Services) -> Cycle
       where P: Into<Point<2>>,
             Ps: IntoIterator<Item = P>,
             Ps::IntoIter: Clone + ExactSizeIterator { ... }
}
Expand description

Build a Cycle

Provided Methods§

source

fn empty() -> Cycle

Build an empty cycle

source

fn circle( center: impl Into<Point<2>>, radius: impl Into<Scalar>, services: &mut Services ) -> Cycle

Build a circle

source

fn polygon<P, Ps>(points: Ps, services: &mut Services) -> Cyclewhere P: Into<Point<2>>, Ps: IntoIterator<Item = P>, Ps::IntoIter: Clone + ExactSizeIterator,

Build a polygon

Implementors§