[][src]Enum wgpu_core::binding_model::PushConstantUploadError

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

TooLarge

Fields of TooLarge

offset: u32end_offset: u32idx: usizerange: PushConstantRange
PartialRangeMatch

Fields of PartialRangeMatch

actual: ShaderStageidx: usizematched: ShaderStage
MissingStages

Fields of MissingStages

actual: ShaderStageidx: usizemissing: ShaderStage
UnmatchedStages

Fields of UnmatchedStages

actual: ShaderStageunmatched: ShaderStage
Unaligned(u32)

Trait Implementations

impl Clone for PushConstantUploadError[src]

impl Debug for PushConstantUploadError[src]

impl Display for PushConstantUploadError[src]

impl Error for PushConstantUploadError[src]

impl From<PushConstantUploadError> for ComputePassError[src]

impl From<PushConstantUploadError> for RenderCommandError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.