pub enum SpatialOrderError {
CodeBufferTooSmall {
required: usize,
},
IndexBufferTooSmall {
required: usize,
},
NonFiniteCoordinate {
index: usize,
},
}Expand description
Errors raised by the spatial ordering functions.
Variants§
CodeBufferTooSmall
codes buffer too small (needs point_count entries).
IndexBufferTooSmall
indices buffer too small (needs point_count entries).
NonFiniteCoordinate
A coordinate is non-finite (NaN or infinity).
Trait Implementations§
Source§impl Clone for SpatialOrderError
impl Clone for SpatialOrderError
impl Copy for SpatialOrderError
Source§impl Debug for SpatialOrderError
impl Debug for SpatialOrderError
impl Eq for SpatialOrderError
Source§impl From<SpatialOrderError> for BoxJoinError
impl From<SpatialOrderError> for BoxJoinError
Source§fn from(err: SpatialOrderError) -> Self
fn from(err: SpatialOrderError) -> Self
Converts to this type from the input type.
Source§impl From<SpatialOrderError> for BvhError
impl From<SpatialOrderError> for BvhError
Source§fn from(err: SpatialOrderError) -> Self
fn from(err: SpatialOrderError) -> Self
Converts to this type from the input type.
Source§impl From<SpatialOrderError> for KdTreeError
impl From<SpatialOrderError> for KdTreeError
Source§fn from(err: SpatialOrderError) -> Self
fn from(err: SpatialOrderError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SpatialOrderError
impl PartialEq for SpatialOrderError
impl StructuralPartialEq for SpatialOrderError
Auto Trait Implementations§
impl Freeze for SpatialOrderError
impl RefUnwindSafe for SpatialOrderError
impl Send for SpatialOrderError
impl Sync for SpatialOrderError
impl Unpin for SpatialOrderError
impl UnsafeUnpin for SpatialOrderError
impl UnwindSafe for SpatialOrderError
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more