pub enum LayeredVisualizationError {
RendererMismatch,
InvalidValueRange {
minimum: f32,
maximum: f32,
},
InvalidBackground,
InvalidOpacity,
InvalidGeometryTransform,
Frame(RendererFrameError),
}Expand description
Failure while drawing a bounded scalar-field and particle composition.
Variants§
RendererMismatch
At least one resource belongs to another renderer/device.
InvalidValueRange
Scalar endpoints are invalid or their subtraction overflows f32.
Fields
InvalidBackground
A clear color contains NaN or infinity.
InvalidOpacity
Final composition opacity is outside the normalized finite range.
InvalidGeometryTransform
Camera arithmetic cannot produce finite particle geometry.
Frame(RendererFrameError)
Surface acquisition or presentation failed.
Trait Implementations§
Source§impl Clone for LayeredVisualizationError
impl Clone for LayeredVisualizationError
Source§fn clone(&self) -> LayeredVisualizationError
fn clone(&self) -> LayeredVisualizationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayeredVisualizationError
Source§impl Debug for LayeredVisualizationError
impl Debug for LayeredVisualizationError
Source§impl Display for LayeredVisualizationError
impl Display for LayeredVisualizationError
Source§impl Error for LayeredVisualizationError
impl Error for LayeredVisualizationError
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 LayeredVisualizationError
Auto Trait Implementations§
impl Freeze for LayeredVisualizationError
impl RefUnwindSafe for LayeredVisualizationError
impl Send for LayeredVisualizationError
impl Sync for LayeredVisualizationError
impl Unpin for LayeredVisualizationError
impl UnsafeUnpin for LayeredVisualizationError
impl UnwindSafe for LayeredVisualizationError
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