pub enum EntryPointError {
Show 14 variants
Conflict,
MissingVertexOutputPosition,
UnexpectedEarlyDepthTest,
UnexpectedWorkgroupSize,
OutOfRangeWorkgroupSize,
ForbiddenStageOperations,
InvalidGlobalUsage(Handle<GlobalVariable>, GlobalUse),
MoreThanOnePushConstantUsed,
BindingCollision(Handle<GlobalVariable>),
Argument(u32, VaryingError),
Result(VaryingError),
InvalidIntegerInterpolation {
location: u32,
},
Function(FunctionError),
InvalidLocationsWhileDualSourceBlending {
location_mask: BitSet,
},
}
Variants§
Conflict
MissingVertexOutputPosition
UnexpectedEarlyDepthTest
UnexpectedWorkgroupSize
OutOfRangeWorkgroupSize
ForbiddenStageOperations
InvalidGlobalUsage(Handle<GlobalVariable>, GlobalUse)
MoreThanOnePushConstantUsed
BindingCollision(Handle<GlobalVariable>)
Argument(u32, VaryingError)
Result(VaryingError)
InvalidIntegerInterpolation
Function(FunctionError)
InvalidLocationsWhileDualSourceBlending
Trait Implementations§
Source§impl Clone for EntryPointError
impl Clone for EntryPointError
Source§fn clone(&self) -> EntryPointError
fn clone(&self) -> EntryPointError
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 EntryPointError
impl Debug for EntryPointError
Source§impl Display for EntryPointError
impl Display for EntryPointError
Source§impl Error for EntryPointError
impl Error for EntryPointError
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<FunctionError> for EntryPointError
impl From<FunctionError> for EntryPointError
Source§fn from(source: FunctionError) -> Self
fn from(source: FunctionError) -> Self
Converts to this type from the input type.
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 EntryPointError
impl RefUnwindSafe for EntryPointError
impl Send for EntryPointError
impl Sync for EntryPointError
impl Unpin for EntryPointError
impl UnwindSafe for EntryPointError
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
)