Enum naga::valid::EntryPointError
source · 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
)