pub enum InvalidRegionConfig {
CountBoundOrder {
min: Ratio<Coord>,
max: Ratio<Coord>,
},
PeakOutOfBounds {
min: Ratio<Coord>,
peak: Ratio<Coord>,
max: Ratio<Coord>,
},
RatioRange {
ratio: Ratio<Coord>,
},
}
Variants§
Trait Implementations§
Source§impl Clone for InvalidRegionConfig
impl Clone for InvalidRegionConfig
Source§fn clone(&self) -> InvalidRegionConfig
fn clone(&self) -> InvalidRegionConfig
Returns a copy 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 InvalidRegionConfig
impl Debug for InvalidRegionConfig
Source§impl Display for InvalidRegionConfig
impl Display for InvalidRegionConfig
Source§impl Error for InvalidRegionConfig
impl Error for InvalidRegionConfig
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()
Auto Trait Implementations§
impl Freeze for InvalidRegionConfig
impl RefUnwindSafe for InvalidRegionConfig
impl Send for InvalidRegionConfig
impl Sync for InvalidRegionConfig
impl Unpin for InvalidRegionConfig
impl UnwindSafe for InvalidRegionConfig
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