pub enum RelateError {
Overlay(OverlayError),
InvalidMask,
}Expand description
Failure while evaluating a DE-9IM relate mask.
Rust error adaptation for boost::geometry::relate(g1, g2, mask) from
algorithms/detail/relate/interface.hpp:347-382; Boost reports a boolean,
while this port preserves unsupported-kernel and malformed-mask failures.
Variants§
Overlay(OverlayError)
The relation matrix could not be computed for the supplied geometry pair.
InvalidMask
The mask was not exactly nine characters drawn from *TF012.
Trait Implementations§
Source§impl Clone for RelateError
impl Clone for RelateError
Source§fn clone(&self) -> RelateError
fn clone(&self) -> RelateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelateError
Source§impl Debug for RelateError
impl Debug for RelateError
impl Eq for RelateError
Source§impl From<OverlayError> for RelateError
Converts the overlay failure into the Rust relate-error adaptation for
algorithms/detail/relate/interface.hpp:347-382.
impl From<OverlayError> for RelateError
Converts the overlay failure into the Rust relate-error adaptation for
algorithms/detail/relate/interface.hpp:347-382.
Source§fn from(error: OverlayError) -> Self
fn from(error: OverlayError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RelateError
impl PartialEq for RelateError
impl StructuralPartialEq for RelateError
Auto Trait Implementations§
impl Freeze for RelateError
impl RefUnwindSafe for RelateError
impl Send for RelateError
impl Sync for RelateError
impl Unpin for RelateError
impl UnsafeUnpin for RelateError
impl UnwindSafe for RelateError
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