Skip to main content

CrossesPredicate

Trait CrossesPredicate 

Source
pub trait CrossesPredicate {
    // Required method
    fn crosses(&self, other: &Self) -> Result<bool>;
}
Expand description

Trait for geometries that support crosses predicate

Required Methods§

Source

fn crosses(&self, other: &Self) -> Result<bool>

Tests if this geometry crosses another

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§