pub enum NoAllocError {
CapacityExceeded,
InvalidPrecision,
EmptyGeometry,
}Expand description
Errors that can occur in no-alloc geometry operations.
Variants§
CapacityExceeded
The fixed-capacity container is full.
InvalidPrecision
Geohash precision is outside the range 1–12.
EmptyGeometry
Geometry contains no vertices.
Trait Implementations§
Source§impl Clone for NoAllocError
impl Clone for NoAllocError
Source§fn clone(&self) -> NoAllocError
fn clone(&self) -> NoAllocError
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 NoAllocError
Source§impl Debug for NoAllocError
impl Debug for NoAllocError
impl Eq for NoAllocError
Source§impl PartialEq for NoAllocError
impl PartialEq for NoAllocError
impl StructuralPartialEq for NoAllocError
Auto Trait Implementations§
impl Freeze for NoAllocError
impl RefUnwindSafe for NoAllocError
impl Send for NoAllocError
impl Sync for NoAllocError
impl Unpin for NoAllocError
impl UnsafeUnpin for NoAllocError
impl UnwindSafe for NoAllocError
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