Enum naga::valid::VaryingError
source · pub enum VaryingError {
Show 16 variants
InvalidType(Handle<Type>),
NotIOShareableType(Handle<Type>),
InvalidInterpolation,
InvalidInterpolationSamplingCombination {
interpolation: Interpolation,
sampling: Sampling,
},
MissingInterpolation,
InvalidBuiltInStage(BuiltIn),
InvalidBuiltInType(BuiltIn),
MissingBinding,
MemberMissingBinding(u32),
BindingCollision {
location: u32,
},
DuplicateBuiltIn(BuiltIn),
UnsupportedCapability(Capabilities),
InvalidInputAttributeInStage(&'static str, ShaderStage),
InvalidAttributeInStage(&'static str, ShaderStage),
InvalidLocationAttributeCombination {
location: u32,
attribute: &'static str,
},
InvalidMultiDimensionalSubgroupBuiltIn,
}
Variants§
InvalidType(Handle<Type>)
InvalidInterpolation
InvalidInterpolationSamplingCombination
MissingInterpolation
InvalidBuiltInStage(BuiltIn)
InvalidBuiltInType(BuiltIn)
MissingBinding
MemberMissingBinding(u32)
BindingCollision
DuplicateBuiltIn(BuiltIn)
UnsupportedCapability(Capabilities)
InvalidInputAttributeInStage(&'static str, ShaderStage)
InvalidAttributeInStage(&'static str, ShaderStage)
InvalidLocationAttributeCombination
InvalidMultiDimensionalSubgroupBuiltIn
Trait Implementations§
source§impl Clone for VaryingError
impl Clone for VaryingError
source§fn clone(&self) -> VaryingError
fn clone(&self) -> VaryingError
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 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)>
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 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