#[non_exhaustive]pub enum SceneError {
InvalidBudget {
name: &'static str,
},
Precision {
vertex: usize,
},
}Expand description
Why scene data could not be produced.
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.
InvalidBudget
A caller-supplied budget is not a positive finite number.
Precision
A coordinate cannot be represented relative to the origin within the error budget.
Trait Implementations§
Source§impl Clone for SceneError
impl Clone for SceneError
Source§impl Debug for SceneError
impl Debug for SceneError
Source§impl Display for SceneError
impl Display for SceneError
Source§impl Error for SceneError
impl Error for SceneError
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 SceneError
impl PartialEq for SceneError
impl StructuralPartialEq for SceneError
Auto Trait Implementations§
impl Forget for SceneError
impl Freeze for SceneError
impl Move for SceneError
impl RefUnwindSafe for SceneError
impl Send for SceneError
impl Sync for SceneError
impl Unpin for SceneError
impl UnsafeUnpin for SceneError
impl UnwindSafe for SceneError
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