Trait image_moments::Point[][src]

pub trait Point<S: Scalar>: Clone {
    fn x(&self) -> S;
fn y(&self) -> S; }
Expand description

A generalization over different possible representations of points. Implementing this trait on custom structs ensure their seamless usage with this crate.

Required methods

The x position of the point casted into the required resolution.

The y position of the point casted into the required resolution.

Implementations on Foreign Types

Implementors