pub enum RendererConfigurationError {
InvalidScaleFactor {
scale_factor: f64,
},
InvalidRecoveryLimit {
limit: usize,
},
}Expand description
Invalid runtime or initialization configuration for WgpuRenderer.
Variants§
InvalidScaleFactor
Logical-to-physical scale must produce finite logical dimensions for every supported surface.
InvalidRecoveryLimit
Previous-device quarantine must remain inside the supported bounded range.
Trait Implementations§
Source§impl Clone for RendererConfigurationError
impl Clone for RendererConfigurationError
Source§fn clone(&self) -> RendererConfigurationError
fn clone(&self) -> RendererConfigurationError
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 RendererConfigurationError
Source§impl Debug for RendererConfigurationError
impl Debug for RendererConfigurationError
Source§impl Display for RendererConfigurationError
impl Display for RendererConfigurationError
Source§impl Error for RendererConfigurationError
impl Error for RendererConfigurationError
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 RendererConfigurationError
Auto Trait Implementations§
impl Freeze for RendererConfigurationError
impl RefUnwindSafe for RendererConfigurationError
impl Send for RendererConfigurationError
impl Sync for RendererConfigurationError
impl Unpin for RendererConfigurationError
impl UnsafeUnpin for RendererConfigurationError
impl UnwindSafe for RendererConfigurationError
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