pub enum ParticleFieldRenderError {
RendererMismatch,
InvalidBackground,
InvalidGeometryTransform,
Frame(RendererFrameError),
}Expand description
Failure while rendering a ParticleField2d.
Variants§
RendererMismatch
The field belongs to another renderer and GPU device.
InvalidBackground
The clear color is not normalized linear RGBA.
InvalidGeometryTransform
Particle projection cannot be proven inside the portable GPU envelope.
Frame(RendererFrameError)
Surface acquisition or presentation failed.
Trait Implementations§
Source§impl Clone for ParticleFieldRenderError
impl Clone for ParticleFieldRenderError
impl Copy for ParticleFieldRenderError
Source§impl Debug for ParticleFieldRenderError
impl Debug for ParticleFieldRenderError
Source§impl Display for ParticleFieldRenderError
impl Display for ParticleFieldRenderError
impl Eq for ParticleFieldRenderError
Source§impl Error for ParticleFieldRenderError
impl Error for ParticleFieldRenderError
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 ParticleFieldRenderError
impl PartialEq for ParticleFieldRenderError
impl StructuralPartialEq for ParticleFieldRenderError
Auto Trait Implementations§
impl Freeze for ParticleFieldRenderError
impl RefUnwindSafe for ParticleFieldRenderError
impl Send for ParticleFieldRenderError
impl Sync for ParticleFieldRenderError
impl Unpin for ParticleFieldRenderError
impl UnsafeUnpin for ParticleFieldRenderError
impl UnwindSafe for ParticleFieldRenderError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.