Trait GeoType

Source
pub trait GeoType: From<Expr<Self::Target>> {
    type Target: ConvertFrom<AnyExpr>;

    // Required method
    fn get_type() -> Type;
}
Expand description

Helper trait for Geo-AID type representations.

Required Associated Types§

Source

type Target: ConvertFrom<AnyExpr>

The target Geo-AID type this type can be converted to.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl GeoType for SegmentExpr

Source§

impl GeoType for TransformTypeExpr

Source§

impl GeoType for Expr<Circle>

Source§

impl GeoType for Expr<Line>

Source§

impl GeoType for Expr<Point>

Source§

impl<const DST_NUM: i64, const DST_DENOM: i64, const ANG_NUM: i64, const ANG_DENOM: i64> GeoType for NumberUnit<DST_NUM, DST_DENOM, ANG_NUM, ANG_DENOM>

Source§

impl<const N: usize> GeoType for Pc<N>