#[non_exhaustive]pub enum GridBaseError<Idx, const N: usize>where
Idx: Integer,{
NegativeSize(Vector<Idx, N>),
WrongDimension(Vector<Idx, N>, usize),
ToBig(Vector<Idx, N>),
}Variants (Non-exhaustive)§
This enum is marked as 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.
NegativeSize(Vector<Idx, N>)
WrongDimension(Vector<Idx, N>, usize)
(dim, got)
ToBig(Vector<Idx, N>)
Trait Implementations§
Source§impl<Idx, const N: usize> Clone for GridBaseError<Idx, N>
impl<Idx, const N: usize> Clone for GridBaseError<Idx, N>
Source§impl<Idx, const N: usize> Debug for GridBaseError<Idx, N>
impl<Idx, const N: usize> Debug for GridBaseError<Idx, N>
Auto Trait Implementations§
impl<Idx, const N: usize> Freeze for GridBaseError<Idx, N>
impl<Idx, const N: usize> RefUnwindSafe for GridBaseError<Idx, N>where
Vector<Idx, N>: RefUnwindSafe,
impl<Idx, const N: usize> Send for GridBaseError<Idx, N>
impl<Idx, const N: usize> Sync for GridBaseError<Idx, N>
impl<Idx, const N: usize> Unpin for GridBaseError<Idx, N>
impl<Idx, const N: usize> UnsafeUnpin for GridBaseError<Idx, N>where
Vector<Idx, N>: UnsafeUnpin,
impl<Idx, const N: usize> UnwindSafe for GridBaseError<Idx, N>where
Vector<Idx, N>: UnwindSafe,
Blanket Implementations§
Source§impl<T> AnyAsync for Twhere
T: Any + WasmSendSync + 'static,
impl<T> AnyAsync for Twhere
T: Any + WasmSendSync + 'static,
impl<T> Async for T
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
Source§impl<S, T> CastRangeInto<T> for Swhere
T: CastRangeFrom<S>,
impl<S, T> CastRangeInto<T> for Swhere
T: CastRangeFrom<S>,
fn cast_range_into(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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