pub enum Error {
FontError(FontError),
PipelineError(PipelineStateError<String>),
ProgramError(ProgramError),
CombinedError(CombinedError),
UpdateError(UpdateError<usize>),
}
Expand description
General error type returned by the library. Wraps all other errors.
Variants§
FontError(FontError)
Font loading error
PipelineError(PipelineStateError<String>)
Pipeline creation/update error
ProgramError(ProgramError)
Program shader error.
CombinedError(CombinedError)
An error occuring during creation of texture or resource view
UpdateError(UpdateError<usize>)
An error occuring in buffer/texture updates
Trait Implementations§
source§impl From<ProgramError> for Error
impl From<ProgramError> for Error
source§fn from(e: ProgramError) -> Error
fn from(e: ProgramError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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