Enum splashsurf_lib::ReconstructionError[][src]

#[non_exhaustive]pub enum ReconstructionError<I: Index, R: Real> {
    GridConstructionError(GridConstructionError<I, R>),
    Unknown(Error),
}

Error type returned when the surface reconstruction fails

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GridConstructionError(GridConstructionError<I, R>)

Errors that occur during the implicit construction of the virtual background grid used for the density map and marching cubes

Unknown(Error)

Any error that is not represented by some other explicit variant

Trait Implementations

impl<I: Debug + Index, R: Debug + Real> Debug for ReconstructionError<I, R>[src]

impl<I: Index, R: Real> Display for ReconstructionError<I, R>[src]

impl<I: Index, R: Real> Error for ReconstructionError<I, R>[src]

impl<I: Index, R: Real> From<Error> for ReconstructionError<I, R>[src]

fn from(error: Error) -> Self[src]

Allows automatic conversion of an anyhow::Error to a ReconstructionError

impl<I: Index, R: Real> From<GridConstructionError<I, R>> for ReconstructionError<I, R>[src]

fn from(error: GridConstructionError<I, R>) -> Self[src]

Allows automatic conversion of a GridConstructionError to a ReconstructionError

Auto Trait Implementations

impl<I, R> !RefUnwindSafe for ReconstructionError<I, R>[src]

impl<I, R> Send for ReconstructionError<I, R>[src]

impl<I, R> Sync for ReconstructionError<I, R>[src]

impl<I, R> Unpin for ReconstructionError<I, R> where
    I: Unpin,
    R: Unpin
[src]

impl<I, R> !UnwindSafe for ReconstructionError<I, R>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,