pub enum MortonError {
NotFinite,
LatitudeOutOfRange,
}Expand description
A coordinate that cannot be placed on the grid.
Variants§
NotFinite
Longitude or latitude was NaN or infinite.
LatitudeOutOfRange
Latitude was outside [-90, 90].
Trait Implementations§
Source§impl Clone for MortonError
impl Clone for MortonError
Source§fn clone(&self) -> MortonError
fn clone(&self) -> MortonError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MortonError
impl Debug for MortonError
Source§impl Display for MortonError
impl Display for MortonError
Source§impl Error for MortonError
impl Error for MortonError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<MortonError> for RegionDbError
impl From<MortonError> for RegionDbError
Source§fn from(error: MortonError) -> Self
fn from(error: MortonError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MortonError
impl PartialEq for MortonError
impl Copy for MortonError
impl Eq for MortonError
impl StructuralPartialEq for MortonError
Auto Trait Implementations§
impl Freeze for MortonError
impl RefUnwindSafe for MortonError
impl Send for MortonError
impl Sync for MortonError
impl Unpin for MortonError
impl UnwindSafe for MortonError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)