Enum SpatialError
pub enum SpatialError {
Invalid,
Capacity,
QueryTooLarge,
}Variants§
Invalid
Invalid coordinates/bounds/radius, or a radius whose square overflows.
Capacity
Inserting a new ID would exceed the configured point capacity.
QueryTooLarge
The query’s bounding rectangle spans more than 4096 cells.
Trait Implementations§
§impl Clone for SpatialError
impl Clone for SpatialError
§fn clone(&self) -> SpatialError
fn clone(&self) -> SpatialError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SpatialError
impl Debug for SpatialError
§impl PartialEq for SpatialError
impl PartialEq for SpatialError
impl Copy for SpatialError
impl Eq for SpatialError
impl StructuralPartialEq for SpatialError
Auto Trait Implementations§
impl Freeze for SpatialError
impl RefUnwindSafe for SpatialError
impl Send for SpatialError
impl Sync for SpatialError
impl Unpin for SpatialError
impl UnwindSafe for SpatialError
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