pub enum WgpuDispatcherError {
Dispatch(DispatchError),
UnsupportedPass(PassKind),
MissingMaterial {
node: NodeId,
},
BindingKindMismatch {
node: NodeId,
binding: u32,
resource: ResourceId,
expected: BindingKind,
actual: &'static str,
},
OutputNotBound {
node: NodeId,
resource: ResourceId,
},
BoundResourceMissing {
node: NodeId,
binding: u32,
resource: ResourceId,
},
}Variants§
Dispatch(DispatchError)
UnsupportedPass(PassKind)
MissingMaterial
BindingKindMismatch
OutputNotBound
BoundResourceMissing
Trait Implementations§
Source§impl Debug for WgpuDispatcherError
impl Debug for WgpuDispatcherError
Source§impl Display for WgpuDispatcherError
impl Display for WgpuDispatcherError
Source§impl Error for WgpuDispatcherError
impl Error for WgpuDispatcherError
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<DispatchError> for WgpuDispatcherError
impl From<DispatchError> for WgpuDispatcherError
Source§fn from(source: DispatchError) -> Self
fn from(source: DispatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WgpuDispatcherError
impl RefUnwindSafe for WgpuDispatcherError
impl Send for WgpuDispatcherError
impl Sync for WgpuDispatcherError
impl Unpin for WgpuDispatcherError
impl UnsafeUnpin for WgpuDispatcherError
impl UnwindSafe for WgpuDispatcherError
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