pub enum GridSpecError {
InvalidCellSize,
}Expand description
Grid configuration error.
Variants§
InvalidCellSize
Cell size must be positive and finite.
Trait Implementations§
Source§impl Clone for GridSpecError
impl Clone for GridSpecError
Source§fn clone(&self) -> GridSpecError
fn clone(&self) -> GridSpecError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridSpecError
Source§impl Debug for GridSpecError
impl Debug for GridSpecError
Source§impl Display for GridSpecError
impl Display for GridSpecError
impl Eq for GridSpecError
Source§impl Error for GridSpecError
impl Error for GridSpecError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for GridSpecError
impl PartialEq for GridSpecError
impl StructuralPartialEq for GridSpecError
Auto Trait Implementations§
impl Freeze for GridSpecError
impl RefUnwindSafe for GridSpecError
impl Send for GridSpecError
impl Sync for GridSpecError
impl Unpin for GridSpecError
impl UnsafeUnpin for GridSpecError
impl UnwindSafe for GridSpecError
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