Enum truck_modeling::base::traits::ConcatError [−][src]
pub enum ConcatError<Point> where
Point: Debug, {
DisconnectedParameters(f64, f64),
DisconnectedPoints(Point, Point),
}
Expand description
Error for concat curves
Variants
DisconnectedParameters(f64, f64)
Failed to concat curves since the end parameter of the first curve is different form the start parameter of the second curve.
DisconnectedPoints(Point, Point)
Failed to concat curves since the end point of the first curve is different from the start point of the second curve.
Implementations
into the
Trait Implementations
impl<Point> Error for ConcatError<Point> where
Point: Debug,
ConcatError<Point>: Debug,
ConcatError<Point>: Display,
impl<Point> Error for ConcatError<Point> where
Point: Debug,
ConcatError<Point>: Debug,
ConcatError<Point>: Display,
impl<Point> PartialEq<ConcatError<Point>> for ConcatError<Point> where
Point: PartialEq<Point> + Debug,
impl<Point> PartialEq<ConcatError<Point>> for ConcatError<Point> where
Point: PartialEq<Point> + Debug,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<Point> RefUnwindSafe for ConcatError<Point> where
Point: RefUnwindSafe,
impl<Point> Send for ConcatError<Point> where
Point: Send,
impl<Point> Sync for ConcatError<Point> where
Point: Sync,
impl<Point> Unpin for ConcatError<Point> where
Point: Unpin,
impl<Point> UnwindSafe for ConcatError<Point> where
Point: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more