pub enum VaryingError {
Show 19 variants
    InvalidType(Handle<Type>),
    NotIOShareableType(Handle<Type>),
    InvalidInterpolation,
    InvalidInterpolationSamplingCombination {
        interpolation: Interpolation,
        sampling: Sampling,
    },
    MissingInterpolation,
    InvalidBuiltInStage(BuiltIn),
    InvalidBuiltInType(BuiltIn),
    MissingBinding,
    MemberMissingBinding(u32),
    BindingCollision {
        location: u32,
    },
    BindingCollisionBlendSrc {
        blend_src: u32,
    },
    DuplicateBuiltIn(BuiltIn),
    UnsupportedCapability(Capabilities),
    InvalidInputAttributeInStage(&'static str, ShaderStage),
    InvalidAttributeInStage(&'static str, ShaderStage),
    InvalidBlendSrcIndex {
        location: u32,
        blend_src: u32,
    },
    IncompleteBlendSrcUsage,
    BlendSrcOutputTypeMismatch {
        blend_src_0_type: Handle<Type>,
        blend_src_1_type: Handle<Type>,
    },
    InvalidMultiDimensionalSubgroupBuiltIn,
}Variants§
InvalidType(Handle<Type>)
InvalidInterpolation
InvalidInterpolationSamplingCombination
MissingInterpolation
InvalidBuiltInStage(BuiltIn)
InvalidBuiltInType(BuiltIn)
MissingBinding
MemberMissingBinding(u32)
BindingCollision
BindingCollisionBlendSrc
DuplicateBuiltIn(BuiltIn)
UnsupportedCapability(Capabilities)
InvalidInputAttributeInStage(&'static str, ShaderStage)
InvalidAttributeInStage(&'static str, ShaderStage)
InvalidBlendSrcIndex
IncompleteBlendSrcUsage
BlendSrcOutputTypeMismatch
InvalidMultiDimensionalSubgroupBuiltIn
Trait Implementations§
Source§impl Clone for VaryingError
 
impl Clone for VaryingError
Source§fn clone(&self) -> VaryingError
 
fn clone(&self) -> VaryingError
Returns a duplicate 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 VaryingError
 
impl Debug for VaryingError
Source§impl Display for VaryingError
 
impl Display for VaryingError
Source§impl Error for VaryingError
 
impl Error for VaryingError
1.30.0 · 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<VaryingError> for EntryPointError
 
impl From<VaryingError> for EntryPointError
Source§fn from(source: VaryingError) -> Self
 
fn from(source: VaryingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VaryingError
impl RefUnwindSafe for VaryingError
impl Send for VaryingError
impl Sync for VaryingError
impl Unpin for VaryingError
impl UnwindSafe for VaryingError
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