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
sourceimpl From<PipelineStateError<String>> for Error
impl From<PipelineStateError<String>> for Error
sourcefn from(e: PipelineStateError<String>) -> Error
fn from(e: PipelineStateError<String>) -> Error
Converts to this type from the input type.
sourceimpl From<ProgramError> for Error
impl From<ProgramError> for Error
sourcefn from(e: ProgramError) -> Error
fn from(e: ProgramError) -> Error
Converts to this type from the input type.
sourceimpl From<UpdateError<usize>> for Error
impl From<UpdateError<usize>> for Error
sourcefn from(e: UpdateError<usize>) -> Error
fn from(e: UpdateError<usize>) -> 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more