pub enum WaveFunctionCollapseError {
FoundPatternWithZeroFrequency(usize),
FoundEmptyPattern(usize),
SuperpositionCellHasNoPattern(usize, usize),
FoundUncollapsedCell,
FoundImpossibleInitialState,
BuilderInProgress,
}Variants
FoundPatternWithZeroFrequency(usize)
pattern index
FoundEmptyPattern(usize)
pattern index
SuperpositionCellHasNoPattern(usize, usize)
(col, row)
FoundUncollapsedCell
FoundImpossibleInitialState
BuilderInProgress
Trait Implementations
sourceimpl Clone for WaveFunctionCollapseError
impl Clone for WaveFunctionCollapseError
sourcefn clone(&self) -> WaveFunctionCollapseError
fn clone(&self) -> WaveFunctionCollapseError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for WaveFunctionCollapseError
impl Debug for WaveFunctionCollapseError
impl Copy for WaveFunctionCollapseError
Auto Trait Implementations
impl RefUnwindSafe for WaveFunctionCollapseError
impl Send for WaveFunctionCollapseError
impl Sync for WaveFunctionCollapseError
impl Unpin for WaveFunctionCollapseError
impl UnwindSafe for WaveFunctionCollapseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more