pub enum ProgramError {
Vertex(CreateShaderError),
Hull(CreateShaderError),
Domain(CreateShaderError),
Geometry(CreateShaderError),
Pixel(CreateShaderError),
Link(CreateProgramError),
}
Expand description
Program linking error
Variants§
Vertex(CreateShaderError)
Unable to compile the vertex shader
Hull(CreateShaderError)
Unable to compile the hull shader
Domain(CreateShaderError)
Unable to compile the domain shader
Geometry(CreateShaderError)
Unable to compile the geometry shader
Pixel(CreateShaderError)
Unable to compile the pixel shader
Link(CreateProgramError)
Unable to link
Trait Implementations§
Source§impl Clone for ProgramError
impl Clone for ProgramError
Source§fn clone(&self) -> ProgramError
fn clone(&self) -> ProgramError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgramError
impl Debug for ProgramError
Source§impl Display for ProgramError
impl Display for ProgramError
Source§impl Error for ProgramError
impl Error for ProgramError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl<S> From<ProgramError> for PipelineStateError<S>
impl<S> From<ProgramError> for PipelineStateError<S>
Source§fn from(e: ProgramError) -> Self
fn from(e: ProgramError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProgramError
impl PartialEq for ProgramError
impl StructuralPartialEq for ProgramError
Auto Trait Implementations§
impl Freeze for ProgramError
impl RefUnwindSafe for ProgramError
impl Send for ProgramError
impl Sync for ProgramError
impl Unpin for ProgramError
impl UnwindSafe for ProgramError
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