pub enum RendererError {
Vertex(BufferCreationError),
Index(BufferCreationError),
Program(ProgramChooserCreationError),
Texture(TextureCreationError),
Draw(DrawError),
}
Variants§
Vertex(BufferCreationError)
Index(BufferCreationError)
Program(ProgramChooserCreationError)
Texture(TextureCreationError)
Draw(DrawError)
Trait Implementations§
Source§impl Clone for RendererError
impl Clone for RendererError
Source§fn clone(&self) -> RendererError
fn clone(&self) -> RendererError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RendererError
impl Debug for RendererError
Source§impl Display for RendererError
impl Display for RendererError
Source§impl From<CreationError> for RendererError
impl From<CreationError> for RendererError
Source§fn from(e: BufferCreationError) -> RendererError
fn from(e: BufferCreationError) -> RendererError
Converts to this type from the input type.
Source§impl From<CreationError> for RendererError
impl From<CreationError> for RendererError
Source§fn from(e: BufferCreationError) -> RendererError
fn from(e: BufferCreationError) -> RendererError
Converts to this type from the input type.
Source§impl From<DrawError> for RendererError
impl From<DrawError> for RendererError
Source§fn from(e: DrawError) -> RendererError
fn from(e: DrawError) -> RendererError
Converts to this type from the input type.
Source§impl From<ProgramChooserCreationError> for RendererError
impl From<ProgramChooserCreationError> for RendererError
Source§fn from(e: ProgramChooserCreationError) -> RendererError
fn from(e: ProgramChooserCreationError) -> RendererError
Converts to this type from the input type.
Source§impl From<RendererError> for ContextError
impl From<RendererError> for ContextError
Source§fn from(e: RendererError) -> Self
fn from(e: RendererError) -> Self
Converts to this type from the input type.
Source§impl From<TextureCreationError> for RendererError
impl From<TextureCreationError> for RendererError
Source§fn from(e: TextureCreationError) -> RendererError
fn from(e: TextureCreationError) -> RendererError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RendererError
impl RefUnwindSafe for RendererError
impl Send for RendererError
impl Sync for RendererError
impl Unpin for RendererError
impl UnwindSafe for RendererError
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