#[non_exhaustive]pub enum ContourDisplayError {
InvalidOption {
name: &'static str,
value: f64,
},
InvalidManualAnchor {
level: f64,
path_index: usize,
arc_fraction: f64,
},
ManualLevelNotFound {
level: f64,
},
ManualPathNotFound {
level: f64,
path_index: usize,
},
InvalidColorBarRange {
minimum: f64,
maximum: f64,
},
InvalidColorBarSize {
length: u32,
thickness: u32,
},
InvalidColorBarTicks,
}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.
InvalidOption
InvalidManualAnchor
ManualLevelNotFound
ManualPathNotFound
InvalidColorBarRange
InvalidColorBarSize
InvalidColorBarTicks
Trait Implementations§
Source§impl Clone for ContourDisplayError
impl Clone for ContourDisplayError
Source§impl Debug for ContourDisplayError
impl Debug for ContourDisplayError
Source§impl Display for ContourDisplayError
impl Display for ContourDisplayError
Source§impl Error for ContourDisplayError
impl Error for ContourDisplayError
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 ContourDisplayError
impl PartialEq for ContourDisplayError
impl StructuralPartialEq for ContourDisplayError
Auto Trait Implementations§
impl Freeze for ContourDisplayError
impl RefUnwindSafe for ContourDisplayError
impl Send for ContourDisplayError
impl Sync for ContourDisplayError
impl Unpin for ContourDisplayError
impl UnsafeUnpin for ContourDisplayError
impl UnwindSafe for ContourDisplayError
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