Enum egui_wgpu_backend::BackendError
source · pub enum BackendError {
InvalidTextureId(String),
Internal(String),
}
Expand description
Error that the backend can return.
Variants§
InvalidTextureId(String)
The given egui::TextureId
was invalid.
Internal(String)
Internal implementation error.
Trait Implementations§
source§impl Debug for BackendError
impl Debug for BackendError
source§impl Display for BackendError
impl Display for BackendError
source§impl Error for BackendError
impl Error for BackendError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for BackendError
impl Send for BackendError
impl Sync for BackendError
impl Unpin for BackendError
impl UnwindSafe for BackendError
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