Trait AsRangedCoord

pub trait AsRangedCoord: Sized {
    type CoordDescType: Ranged<ValueType = Self::Value> + From<Self>;
    type Value;
}
Expand description

The trait for the type that can be converted into a ranged coordinate axis

Required Associated Types§

type CoordDescType: Ranged<ValueType = Self::Value> + From<Self>

Type to describe a coordinate system

type Value

Type for values in the given coordinate system

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.

Implementations on Foreign Types§

§

impl AsRangedCoord for Range<f32>

§

impl AsRangedCoord for Range<f64>

§

impl AsRangedCoord for Range<i32>

§

impl AsRangedCoord for Range<i64>

§

impl AsRangedCoord for Range<i128>

§

impl AsRangedCoord for Range<isize>

§

impl AsRangedCoord for Range<u32>

§

impl AsRangedCoord for Range<u64>

§

impl AsRangedCoord for Range<u128>

§

impl AsRangedCoord for Range<usize>

§

impl AsRangedCoord for Range<NaiveDate>

§

impl AsRangedCoord for Range<TimeDelta>

§

impl<'a, T> AsRangedCoord for &'a [T]
where T: PartialEq,

§

impl<Z> AsRangedCoord for Range<Date<Z>>
where Z: TimeZone,

§

impl<Z> AsRangedCoord for Range<DateTime<Z>>
where Z: TimeZone,

Implementors§

§

impl<T> AsRangedCoord for T
where T: Ranged,

§

type CoordDescType = T

§

type Value = <T as Ranged>::ValueType

§

impl<V> AsRangedCoord for LogRange<V>
where V: LogScalable,

§

type CoordDescType = LogCoord<V>

§

type Value = V