pub enum Plot3DError {
EmptyData,
DataLengthMismatch {
a: usize,
b: usize,
what: &'static str,
},
NotMultipleOf {
len: usize,
k: usize,
what: &'static str,
},
GridSizeMismatch {
x_count: usize,
y_count: usize,
z_len: usize,
},
StringConversion(&'static str),
}Expand description
Errors that can occur during 3D plotting
Variants§
Trait Implementations§
Source§impl Clone for Plot3DError
impl Clone for Plot3DError
Source§fn clone(&self) -> Plot3DError
fn clone(&self) -> Plot3DError
Returns a duplicate 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 Plot3DError
impl Debug for Plot3DError
Source§impl Display for Plot3DError
impl Display for Plot3DError
Source§impl Error for Plot3DError
impl Error for Plot3DError
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 Plot3DError
impl PartialEq for Plot3DError
impl StructuralPartialEq for Plot3DError
Auto Trait Implementations§
impl Freeze for Plot3DError
impl RefUnwindSafe for Plot3DError
impl Send for Plot3DError
impl Sync for Plot3DError
impl Unpin for Plot3DError
impl UnwindSafe for Plot3DError
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