pub enum GridErr {
OutOfGrid,
RuleFailed,
SubgridOverflow,
}
Expand description
Err represents the errors that can happen on the Das Grid module
GridErr::OutOfGrid when the attempt of move or set a value is beyond the bounds of grid
GridErr::RuleFailed when some rule failed to applied
GridErr::SubgridOverflow when the subgrid 0x0 is greater than the parent grid
Variants§
Trait Implementations§
impl Eq for GridErr
impl StructuralPartialEq for GridErr
Auto Trait Implementations§
impl Freeze for GridErr
impl RefUnwindSafe for GridErr
impl Send for GridErr
impl Sync for GridErr
impl Unpin for GridErr
impl UnwindSafe for GridErr
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