[go: up one dir, main page]

Point

Trait Point 

Source
pub trait Point: Send + Sync {
    // Required methods
    fn x(&self) -> f64;
    fn y(&self) -> f64;

    // Provided methods
    fn opt_z(&self) -> Option<f64> { ... }
    fn opt_m(&self) -> Option<f64> { ... }
}

Required Methods§

Source

fn x(&self) -> f64

Source

fn y(&self) -> f64

Provided Methods§

Source

fn opt_z(&self) -> Option<f64>

Source

fn opt_m(&self) -> Option<f64>

Implementors§

Source§

impl Point for postgis::ewkb::Point

Source§

impl Point for PointM

Source§

impl Point for PointZ

Source§

impl Point for PointZM

Source§

impl Point for postgis::twkb::Point