pub enum D3d12RendererError {
Submit(SubmitError),
Resize(SubmitError),
UnsupportedFormat(Pixel),
InvalidD3d12Frame,
DeviceMismatch,
}Available on Windows and crate feature
d3d12 and (crate features d3d11 or d3d12 or wasapi-renderer) only.Expand description
Errors specific to D3d12Renderer. Converts into the crate-wide Error
via ? (see crate::error::Error).
Variants§
Trait Implementations§
Source§impl Debug for D3d12RendererError
impl Debug for D3d12RendererError
Source§impl Display for D3d12RendererError
impl Display for D3d12RendererError
Source§impl Error for D3d12RendererError
impl Error for D3d12RendererError
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 From<D3d12RendererError> for Error
impl From<D3d12RendererError> for Error
Source§fn from(source: D3d12RendererError) -> Self
fn from(source: D3d12RendererError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for D3d12RendererError
impl RefUnwindSafe for D3d12RendererError
impl Send for D3d12RendererError
impl Sync for D3d12RendererError
impl Unpin for D3d12RendererError
impl UnsafeUnpin for D3d12RendererError
impl UnwindSafe for D3d12RendererError
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