Enum wgpu_core::binding_model::PushConstantUploadError [−][src]
pub enum PushConstantUploadError {
TooLarge {
offset: u32,
end_offset: u32,
idx: usize,
range: PushConstantRange,
},
PartialRangeMatch {
actual: ShaderStage,
idx: usize,
matched: ShaderStage,
},
MissingStages {
actual: ShaderStage,
idx: usize,
missing: ShaderStage,
},
UnmatchedStages {
actual: ShaderStage,
unmatched: ShaderStage,
},
Unaligned(u32),
}Variants
Show fields
Fields of TooLarge
Show fields
Fields of PartialRangeMatch
Show fields
Fields of MissingStages
Show fields
Fields of UnmatchedStages
actual: ShaderStageunmatched: ShaderStageUnaligned(u32)Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PushConstantUploadErrorimpl Send for PushConstantUploadErrorimpl Sync for PushConstantUploadErrorimpl Unpin for PushConstantUploadErrorimpl UnwindSafe for PushConstantUploadErrorBlanket Implementations
Mutably borrows from an owned value. Read more