#[non_exhaustive]pub enum PadError {
Collapse(&'static str),
NoUniqueBridges,
NoUniqueBridge,
LostProvenance,
AmbiguousRole,
NotFiveFaces,
AmbiguousOccurrences,
SharedTop,
NoValidSolid,
ProvenanceUnavailable,
}Expand description
Where Python raises ValueError, with its message.
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.
Collapse(&'static str)
The blend collapse refused the selection (its own message).
NoUniqueBridges
NoUniqueBridge
LostProvenance
AmbiguousRole
NotFiveFaces
AmbiguousOccurrences
NoValidSolid
Trait Implementations§
impl Copy for PadError
impl Eq for PadError
Source§impl Error for PadError
impl Error for PadError
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()
impl StructuralPartialEq for PadError
Auto Trait Implementations§
impl Forget for PadError
impl Freeze for PadError
impl Move for PadError
impl RefUnwindSafe for PadError
impl Send for PadError
impl Sync for PadError
impl Unpin for PadError
impl UnsafeUnpin for PadError
impl UnwindSafe for PadError
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