pub enum PipelineConstantError {
MissingValue(String),
SrcNeedsToBeFinite,
DstRangeTooSmall,
ConstantEvaluatorError(ConstantEvaluatorError),
ValidationError(WithSpan<ValidationError>),
NegativeWorkgroupSize,
}
Variants§
MissingValue(String)
SrcNeedsToBeFinite
DstRangeTooSmall
ConstantEvaluatorError(ConstantEvaluatorError)
ValidationError(WithSpan<ValidationError>)
NegativeWorkgroupSize
Trait Implementations§
source§impl Clone for PipelineConstantError
impl Clone for PipelineConstantError
source§fn clone(&self) -> PipelineConstantError
fn clone(&self) -> PipelineConstantError
Returns a copy 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 PipelineConstantError
impl Debug for PipelineConstantError
source§impl Display for PipelineConstantError
impl Display for PipelineConstantError
source§impl Error for PipelineConstantError
impl Error for PipelineConstantError
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<ConstantEvaluatorError> for PipelineConstantError
impl From<ConstantEvaluatorError> for PipelineConstantError
source§fn from(source: ConstantEvaluatorError) -> Self
fn from(source: ConstantEvaluatorError) -> Self
Converts to this type from the input type.
source§impl From<WithSpan<ValidationError>> for PipelineConstantError
impl From<WithSpan<ValidationError>> for PipelineConstantError
source§fn from(source: WithSpan<ValidationError>) -> Self
fn from(source: WithSpan<ValidationError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PipelineConstantError
impl RefUnwindSafe for PipelineConstantError
impl Send for PipelineConstantError
impl Sync for PipelineConstantError
impl Unpin for PipelineConstantError
impl UnwindSafe for PipelineConstantError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)