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§
Source§impl Debug for ProgramWarning
impl Debug for ProgramWarning
Source§impl Display for ProgramWarning
impl Display for ProgramWarning
Source§impl Error for ProgramWarning
impl Error for ProgramWarning
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<ProgramWarning> for ProgramError
impl From<ProgramWarning> for ProgramError
Source§fn from(e: ProgramWarning) -> ProgramError
fn from(e: ProgramWarning) -> ProgramError
Converts to this type from the input type.
Source§impl From<UniformWarning> for ProgramWarning
impl From<UniformWarning> for ProgramWarning
Source§fn from(e: UniformWarning) -> ProgramWarning
fn from(e: UniformWarning) -> ProgramWarning
Converts to this type from the input type.
Source§impl From<VertexAttribWarning> for ProgramWarning
impl From<VertexAttribWarning> for ProgramWarning
Source§fn from(e: VertexAttribWarning) -> ProgramWarning
fn from(e: VertexAttribWarning) -> ProgramWarning
Converts to this type from the input type.
Source§impl PartialEq for ProgramWarning
impl PartialEq for ProgramWarning
impl Eq for ProgramWarning
impl StructuralPartialEq for ProgramWarning
Auto Trait Implementations§
impl Freeze for ProgramWarning
impl RefUnwindSafe for ProgramWarning
impl Send for ProgramWarning
impl Sync for ProgramWarning
impl Unpin for ProgramWarning
impl UnwindSafe for ProgramWarning
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