plotters::coord::combinators

Trait BuildNestedCoord

Source
pub trait BuildNestedCoord: AsRangedCoord{
    // Provided method
    fn nested_coord<S: AsRangedCoord>(
        self,
        builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S,
    ) -> NestedRange<Self::CoordDescType, S::CoordDescType> { ... }
}
Expand description

Used to build a nested coordinate system.

Provided Methods§

Source

fn nested_coord<S: AsRangedCoord>( self, builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S, ) -> NestedRange<Self::CoordDescType, S::CoordDescType>

Builds a nested 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.

Implementors§