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