Skip to main content

StFunction

Trait StFunction 

Source
trait StFunction {
    const NAME: &'static str;

    // Required methods
    fn signature(&self) -> &Signature;
    fn invoke(g1: Geometry, g2: Geometry) -> bool;
}

Required Associated Constants§

Source

const NAME: &'static str

Required Methods§

Source

fn signature(&self) -> &Signature

Source

fn invoke(g1: Geometry, g2: Geometry) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl StFunction for STContains

Source§

const NAME: &'static str = "st_contains"

Source§

impl StFunction for STIntersects

Source§

const NAME: &'static str = "st_intersects"

Source§

impl StFunction for STWithin

Source§

const NAME: &'static str = "st_within"