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§
source§impl Clone for WaveFunctionCollapseError
impl Clone for WaveFunctionCollapseError
source§fn clone(&self) -> WaveFunctionCollapseError
fn clone(&self) -> WaveFunctionCollapseError
Returns a copy 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 moresource§impl 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§
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