Skip to main content

IntoPartialAxis

Trait IntoPartialAxis 

Source
pub trait IntoPartialAxis: AsRangedCoord {
    // Provided method
    fn partial_axis(
        self,
        axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>,
    ) -> PartialAxis<Self::CoordDescType> { ... }
}
Expand description

The trait for the types that can be converted into a partial axis

Provided Methods§

Source

fn partial_axis( self, axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>, ) -> PartialAxis<Self::CoordDescType>

Make the partial axis

  • axis_range: The range of the axis to be displayed
  • returns: The converted range specification

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R> IntoPartialAxis for R
where R: AsRangedCoord,