pub enum CompileShaderError {
NoContext {
shader_id: String,
},
NoShaderReturned {
shader_id: String,
},
KnownError {
shader_id: String,
error: String,
},
UnknownError {
shader_id: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for CompileShaderError
impl Clone for CompileShaderError
Source§fn clone(&self) -> CompileShaderError
fn clone(&self) -> CompileShaderError
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 CompileShaderError
impl Debug for CompileShaderError
Source§impl Display for CompileShaderError
impl Display for CompileShaderError
Source§impl Error for CompileShaderError
impl Error for CompileShaderError
1.30.0 · 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<CompileShaderError> for RendererBuilderError
impl From<CompileShaderError> for RendererBuilderError
Source§fn from(source: CompileShaderError) -> Self
fn from(source: CompileShaderError) -> Self
Converts to this type from the input type.
Source§impl Hash for CompileShaderError
impl Hash for CompileShaderError
Source§impl PartialEq for CompileShaderError
impl PartialEq for CompileShaderError
impl Eq for CompileShaderError
impl StructuralPartialEq for CompileShaderError
Auto Trait Implementations§
impl Freeze for CompileShaderError
impl RefUnwindSafe for CompileShaderError
impl Send for CompileShaderError
impl Sync for CompileShaderError
impl Unpin for CompileShaderError
impl UnwindSafe for CompileShaderError
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