Enum luminance::shader::ProgramWarning
source · [−]pub enum ProgramWarning {
Uniform(UniformWarning),
VertexAttrib(VertexAttribWarning),
}
Expand description
Program warnings, not necessarily considered blocking errors.
Variants
Uniform(UniformWarning)
Some uniform configuration is ill-formed. It can be a problem of inactive uniform, mismatch
type, etc. Check the UniformWarning
type for more information.
VertexAttrib(VertexAttribWarning)
Some vertex attribute is ill-formed.
Trait Implementations
sourceimpl Debug for ProgramWarning
impl Debug for ProgramWarning
sourceimpl Display for ProgramWarning
impl Display for ProgramWarning
sourceimpl Error for ProgramWarning
impl Error for ProgramWarning
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. 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<ProgramWarning> for ProgramError
impl From<ProgramWarning> for ProgramError
sourcefn from(e: ProgramWarning) -> Self
fn from(e: ProgramWarning) -> Self
Converts to this type from the input type.
sourceimpl From<UniformWarning> for ProgramWarning
impl From<UniformWarning> for ProgramWarning
sourcefn from(e: UniformWarning) -> Self
fn from(e: UniformWarning) -> Self
Converts to this type from the input type.
sourceimpl From<VertexAttribWarning> for ProgramWarning
impl From<VertexAttribWarning> for ProgramWarning
sourcefn from(e: VertexAttribWarning) -> Self
fn from(e: VertexAttribWarning) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ProgramWarning> for ProgramWarning
impl PartialEq<ProgramWarning> for ProgramWarning
sourcefn eq(&self, other: &ProgramWarning) -> bool
fn eq(&self, other: &ProgramWarning) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProgramWarning) -> bool
fn ne(&self, other: &ProgramWarning) -> bool
This method tests for !=
.
impl Eq for ProgramWarning
impl StructuralEq for ProgramWarning
impl StructuralPartialEq for ProgramWarning
Auto Trait Implementations
impl RefUnwindSafe for ProgramWarning
impl Send for ProgramWarning
impl Sync for ProgramWarning
impl Unpin for ProgramWarning
impl UnwindSafe for ProgramWarning
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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