Skip to main content

CoversPredicate

Trait CoversPredicate 

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

Trait for geometries that support the Covers predicate.

Required Methods§

Source

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

Tests if this geometry covers another (every point of other is a point of self).

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§