pub trait BuildNestedCoord: AsRangedCoordwhere
Self::CoordDescType: DiscreteRanged,{
// 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§
Sourcefn nested_coord<S: AsRangedCoord>(
self,
builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S,
) -> NestedRange<Self::CoordDescType, S::CoordDescType>
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.