rgeometry

Trait Intersects

source
pub trait Intersects<T = Self> {
    type Result;

    // Required method
    fn intersect(self, other: T) -> Option<Self::Result>;
}

Required Associated Types§

Required Methods§

source

fn intersect(self, other: T) -> Option<Self::Result>

Implementations on Foreign Types§

source§

impl<'a, T> Intersects for &'a Range<Point<T>>
where T: PolygonScalar,

source§

type Result = ILineSegment<'a, T>

source§

fn intersect(self, other: &'a Range<Point<T>>) -> Option<Self::Result>

source§

impl<'a, T> Intersects for &'a RangeInclusive<Point<T>>
where T: PolygonScalar,

source§

type Result = ILineSegment<'a, T>

source§

fn intersect(self, other: &'a RangeInclusive<Point<T>>) -> Option<Self::Result>

Implementors§