pub trait IntoSegmentedCoord: AsRangedCoordwhere
Self::CoordDescType: DiscreteRanged,{
// Provided method
fn into_segmented(self) -> SegmentedCoord<Self::CoordDescType> { ... }
}
Expand description
The trait for types that can decorated by SegmentedCoord decorator.
Provided Methods§
Sourcefn into_segmented(self) -> SegmentedCoord<Self::CoordDescType>
fn into_segmented(self) -> SegmentedCoord<Self::CoordDescType>
Convert current ranged value into a segmented coordinate
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.