Enum wrend::LinkProgramError
source · [−]pub enum LinkProgramError {
NoContext,
VertexShaderNotFound,
FragmentShaderNotFound,
NoProgramLink,
NoProgram,
KnownError(String),
CouldNotConvertVaryingsToArray,
UnknownError,
}Variants
NoContext
VertexShaderNotFound
FragmentShaderNotFound
NoProgramLink
NoProgram
KnownError(String)
CouldNotConvertVaryingsToArray
UnknownError
Trait Implementations
sourceimpl Clone for LinkProgramError
impl Clone for LinkProgramError
sourcefn clone(&self) -> LinkProgramError
fn clone(&self) -> LinkProgramError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LinkProgramError
impl Debug for LinkProgramError
sourceimpl Display for LinkProgramError
impl Display for LinkProgramError
sourceimpl Error for LinkProgramError
impl Error for LinkProgramError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<LinkProgramError> for RendererBuilderError
impl From<LinkProgramError> for RendererBuilderError
sourcefn from(source: LinkProgramError) -> Self
fn from(source: LinkProgramError) -> Self
Converts to this type from the input type.
sourceimpl Hash for LinkProgramError
impl Hash for LinkProgramError
sourceimpl PartialEq<LinkProgramError> for LinkProgramError
impl PartialEq<LinkProgramError> for LinkProgramError
sourcefn eq(&self, other: &LinkProgramError) -> bool
fn eq(&self, other: &LinkProgramError) -> bool
impl Eq for LinkProgramError
impl StructuralEq for LinkProgramError
impl StructuralPartialEq for LinkProgramError
Auto Trait Implementations
impl RefUnwindSafe for LinkProgramError
impl Send for LinkProgramError
impl Sync for LinkProgramError
impl Unpin for LinkProgramError
impl UnwindSafe for LinkProgramError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more