Trait postgis_diesel::types::PointT
source · pub trait PointT {
// Required methods
fn new_point(
x: f64,
y: f64,
srid: Option<u32>,
z: Option<f64>,
m: Option<f64>
) -> Result<Self, PointConstructorError>
where Self: Sized;
fn get_x(&self) -> f64;
fn get_y(&self) -> f64;
fn get_srid(&self) -> Option<u32>;
fn get_z(&self) -> Option<f64>;
fn get_m(&self) -> Option<f64>;
fn dimension(&self) -> u32;
}
Expand description
Allows uniform access across the four point types