RelationBetweenShapes

Trait RelationBetweenShapes 

Source
pub trait RelationBetweenShapes<Other: ?Sized> {
    // Required method
    fn relation(&self, other: &Other, relation: InputRelation) -> OutputRelation;

    // Provided methods
    fn all_relation(&self, other: &Other) -> OutputRelation { ... }
    fn any_relation(&self, other: &Other) -> OutputRelation { ... }
    fn contains(&self, other: &Other) -> bool { ... }
    fn strict_contains(&self, other: &Other) -> bool { ... }
    fn contained(&self, other: &Other) -> bool { ... }
    fn strict_contained(&self, other: &Other) -> bool { ... }
    fn intersects(&self, other: &Other) -> bool { ... }
    fn disjoint(&self, other: &Other) -> bool { ... }
}

Required Methods§

Source

fn relation(&self, other: &Other, relation: InputRelation) -> OutputRelation

Provided Methods§

Source

fn all_relation(&self, other: &Other) -> OutputRelation

Source

fn any_relation(&self, other: &Other) -> OutputRelation

Source

fn contains(&self, other: &Other) -> bool

Source

fn strict_contains(&self, other: &Other) -> bool

Source

fn contained(&self, other: &Other) -> bool

Source

fn strict_contained(&self, other: &Other) -> bool

Source

fn intersects(&self, other: &Other) -> bool

Source

fn disjoint(&self, other: &Other) -> bool

Implementations on Foreign Types§

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Geometry<f64>

Source§

fn relation( &self, other: &Zerometry<'a>, relation: InputRelation, ) -> OutputRelation

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Polygon<f64>

Source§

fn relation( &self, other: &Zolygon<'a>, relation: InputRelation, ) -> OutputRelation

Implementors§

Source§

impl RelationBetweenShapes<BoundingBox> for BoundingBox

Source§

impl RelationBetweenShapes<Coord> for BoundingBox

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<Zerometry<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<Geometry> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<MultiPolygon> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<MultiPolygon> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Polygon> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Polygon> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Coord> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<Zine<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<Zollection<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<Zolygon<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiLines<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for ZultiPolygons<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for Zerometry<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for Zine<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for Zoint<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for Zollection<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for Zolygon<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for ZultiLines<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for ZultiPoints<'a>

Source§

impl<'a> RelationBetweenShapes<ZultiPolygons<'a>> for ZultiPolygons<'a>