Trait GetCutPoint

Source
pub trait GetCutPoint<A, P> {
    // Required method
    fn cut_point<I>(&mut self, cut_axis: &A, points: I) -> Option<P>
       where I: Iterator<Item = P>;
}

Required Methods§

Source

fn cut_point<I>(&mut self, cut_axis: &A, points: I) -> Option<P>
where I: Iterator<Item = P>,

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§

Source§

impl<A, P, F> GetCutPoint<A, P> for F
where F: FnMut(&A, &mut dyn Iterator<Item = P>) -> Option<P>,