Skip to main content

Sub

Trait Sub 

Source
pub trait Sub<P> {
    type Output;

    // Required method
    fn sub(&mut self, polygon: P) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn sub(&mut self, polygon: P) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<K: Clone, P: Clone + Inflate<K>, S: Sub<P>> Sub<P> for Inflated<S, K>

Source§

type Output = <S as Sub<P>>::Output

Source§

impl<K: RTreeNum, P: Clone + Rings<K> + Union<P> + Difference<P>, PC: Get<usize, Value = P> + Push<usize> + Remove<usize> + Set<usize>, PR: AsRef<RTree<GeomWithData<Rectangle<[K; 2]>, PolygonId>>> + Insert<GeomWithData<Rectangle<[K; 2]>, PolygonId>, Value = ()> + Remove<GeomWithData<Rectangle<[K; 2]>, PolygonId>>> Sub<P> for PolygonSet<K, P, PC, PR>

Source§

impl<P: Clone, S: Sub<P>> Sub<P> for Paralleled<S>

Source§

type Output = (<S as Sub<P>>::Output, Vec<<S as Sub<P>>::Output>)