Skip to main content

TouchesPredicate

Trait TouchesPredicate 

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

Trait for geometries that support touches predicate

Required Methods§

Source

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

Tests if this geometry touches 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§