geogebra_types

Trait PointAccess

source
pub trait PointAccess: Sized
where Point: From<Self>,
{ // Provided methods fn x(self) -> Numeric { ... } fn y(self) -> Numeric { ... } fn complex(self) -> Numeric { ... } }
Expand description

Trait with point-related functions

Provided Methods§

source

fn x(self) -> Numeric

Get the x coordinate of this point

source

fn y(self) -> Numeric

Get the y coordinate of this point

source

fn complex(self) -> Numeric

Convert to a complex number

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> PointAccess for T
where Point: From<T>,