Enum centerline::CenterlineError
source · pub enum CenterlineError {
InternalError(String),
CouldNotCalculateInverseMatrix(String),
SelfIntersectingData(String),
InputNotPLane(String),
InvalidData(String),
BvError(BvError),
ObjError(String),
IoError(Error),
LinestringError(LinestringError),
}
Variants§
InternalError(String)
CouldNotCalculateInverseMatrix(String)
SelfIntersectingData(String)
InputNotPLane(String)
InvalidData(String)
BvError(BvError)
ObjError(String)
IoError(Error)
LinestringError(LinestringError)
Trait Implementations§
source§impl Debug for CenterlineError
impl Debug for CenterlineError
source§impl Display for CenterlineError
impl Display for CenterlineError
source§impl Error for CenterlineError
impl Error for CenterlineError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BvError> for CenterlineError
impl From<BvError> for CenterlineError
source§impl From<Error> for CenterlineError
impl From<Error> for CenterlineError
source§impl From<LinestringError> for CenterlineError
impl From<LinestringError> for CenterlineError
source§fn from(source: LinestringError) -> Self
fn from(source: LinestringError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CenterlineError
impl Send for CenterlineError
impl Sync for CenterlineError
impl Unpin for CenterlineError
impl !UnwindSafe for CenterlineError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more