pub trait BuildNestedCoord: AsRangedCoordwhere
Self::CoordDescType: DiscreteRanged,{
// Provided method
fn nested_coord<S>(
self,
builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S,
) -> NestedRange<Self::CoordDescType, <S as AsRangedCoord>::CoordDescType>
where S: AsRangedCoord { ... }
}
Expand description
Used to build a nested coordinate system.
Provided Methods§
Sourcefn nested_coord<S>(
self,
builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S,
) -> NestedRange<Self::CoordDescType, <S as AsRangedCoord>::CoordDescType>where
S: AsRangedCoord,
fn nested_coord<S>(
self,
builder: impl Fn(<Self::CoordDescType as Ranged>::ValueType) -> S,
) -> NestedRange<Self::CoordDescType, <S as AsRangedCoord>::CoordDescType>where
S: AsRangedCoord,
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.