BuildCycle

Trait BuildCycle 

Source
pub trait BuildCycle {
    // Provided methods
    fn empty() -> 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 polygon<P, Ps>(points: Ps, services: &mut Services) -> Cycle
where P: Into<Point<2>>, Ps: IntoIterator<Item = P>, Ps::IntoIter: Clone + ExactSizeIterator,

Build a polygon

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.

Implementors§