pub enum AssembleError {
MissingFn(&'static str),
TemplateMarkerMissing,
}Expand description
Errors assembling a custom-surface shader from user GLSL.
Variants§
MissingFn(&'static str)
The user source does not define a required function.
TemplateMarkerMissing
The template lost its user-code marker (a library bug, not user error).
Trait Implementations§
Source§impl Debug for AssembleError
impl Debug for AssembleError
Source§impl Display for AssembleError
impl Display for AssembleError
Source§impl PartialEq for AssembleError
impl PartialEq for AssembleError
Source§fn eq(&self, other: &AssembleError) -> bool
fn eq(&self, other: &AssembleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AssembleError
impl StructuralPartialEq for AssembleError
Auto Trait Implementations§
impl Freeze for AssembleError
impl RefUnwindSafe for AssembleError
impl Send for AssembleError
impl Sync for AssembleError
impl Unpin for AssembleError
impl UnsafeUnpin for AssembleError
impl UnwindSafe for AssembleError
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