pub enum VaryingError {
Show 15 variants
InvalidType(Handle<Type>),
NotIOShareableType(Handle<Type>),
InvalidInterpolation,
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
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)>
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
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
)