plotters::coord::ranged1d

Trait AsRangedCoord

Source
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§

Source

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

Type to describe a coordinate system

Source

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§

Source§

impl AsRangedCoord for Range<f32>

Source§

impl AsRangedCoord for Range<f64>

Source§

impl AsRangedCoord for Range<i32>

Source§

impl AsRangedCoord for Range<i64>

Source§

impl AsRangedCoord for Range<i128>

Source§

impl AsRangedCoord for Range<isize>

Source§

impl AsRangedCoord for Range<u32>

Source§

impl AsRangedCoord for Range<u64>

Source§

impl AsRangedCoord for Range<u128>

Source§

impl AsRangedCoord for Range<usize>

Source§

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

Implementors§