pub enum GliumGpuDriverError {
TextureCreationError(TextureCreationError),
ProgramCreationError(ProgramChooserCreationError),
IndexBufferCreationError(BufferCreationError),
VertexBufferCreationError(BufferCreationError),
BufferCreationError(BufferCreationError),
FrameBufferCreationError(ValidationError),
DrawError(DrawError),
DrawIndexOutOfRange {
index_buffer_size: usize,
draw_index_offset: u32,
draw_index_size: u32,
},
}Available on crate feature
glium only.Expand description
Errors can occure when calling create_gpu_driver
Variants§
TextureCreationError(TextureCreationError)
ProgramCreationError(ProgramChooserCreationError)
IndexBufferCreationError(BufferCreationError)
VertexBufferCreationError(BufferCreationError)
BufferCreationError(BufferCreationError)
FrameBufferCreationError(ValidationError)
DrawError(DrawError)
DrawIndexOutOfRange
Trait Implementations§
Source§impl Debug for GliumGpuDriverError
impl Debug for GliumGpuDriverError
Source§impl Display for GliumGpuDriverError
impl Display for GliumGpuDriverError
Source§impl Error for GliumGpuDriverError
impl Error for GliumGpuDriverError
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<CreationError> for GliumGpuDriverError
impl From<CreationError> for GliumGpuDriverError
Source§fn from(source: BufferCreationError) -> Self
fn from(source: BufferCreationError) -> Self
Converts to this type from the input type.
Source§impl From<CreationError> for GliumGpuDriverError
impl From<CreationError> for GliumGpuDriverError
Source§fn from(source: BufferCreationError) -> Self
fn from(source: BufferCreationError) -> Self
Converts to this type from the input type.
Source§impl From<BufferCreationError> for GliumGpuDriverError
impl From<BufferCreationError> for GliumGpuDriverError
Source§fn from(source: BufferCreationError) -> Self
fn from(source: BufferCreationError) -> Self
Converts to this type from the input type.
Source§impl From<DrawError> for GliumGpuDriverError
impl From<DrawError> for GliumGpuDriverError
Source§impl From<ProgramChooserCreationError> for GliumGpuDriverError
impl From<ProgramChooserCreationError> for GliumGpuDriverError
Source§fn from(source: ProgramChooserCreationError) -> Self
fn from(source: ProgramChooserCreationError) -> Self
Converts to this type from the input type.
Source§impl From<TextureCreationError> for GliumGpuDriverError
impl From<TextureCreationError> for GliumGpuDriverError
Source§fn from(source: TextureCreationError) -> Self
fn from(source: TextureCreationError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError> for GliumGpuDriverError
impl From<ValidationError> for GliumGpuDriverError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GliumGpuDriverError
impl RefUnwindSafe for GliumGpuDriverError
impl Send for GliumGpuDriverError
impl Sync for GliumGpuDriverError
impl Unpin for GliumGpuDriverError
impl UnwindSafe for GliumGpuDriverError
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