[][src]Enum nannou::vk::AutoCommandBufferBuilderContextError

pub enum AutoCommandBufferBuilderContextError {
    ForbiddenInSecondary,
    ForbiddenInsideRenderPass,
    ForbiddenOutsideRenderPass,
    NotSupportedByQueueFamily,
    NumSubpassesMismatch {
        actual: u32,
        current: u32,
    },
    WrongSubpassType,
    WrongSubpassIndex,
    IncompatibleRenderPass,
}

Variants

ForbiddenInSecondary

Operation forbidden in a secondary command buffer.

ForbiddenInsideRenderPass

Operation forbidden inside of a render pass.

ForbiddenOutsideRenderPass

Operation forbidden outside of a render pass.

NotSupportedByQueueFamily

The queue family doesn't allow this operation.

NumSubpassesMismatch

Tried to end a render pass with subpasses remaining, or tried to go to next subpass with no subpass remaining.

Fields of NumSubpassesMismatch

actual: u32

Actual number of subpasses in the current render pass.

current: u32

Current subpass index before the failing command.

WrongSubpassType

Tried to execute a secondary command buffer inside a subpass that only allows inline commands, or a draw command in a subpass that only allows secondary command buffers.

WrongSubpassIndex

Tried to use a graphics pipeline whose subpass index didn't match the current subpass index.

IncompatibleRenderPass

Tried to use a graphics pipeline whose render pass is incompatible with the current render pass.

Trait Implementations

impl Display for AutoCommandBufferBuilderContextError[src]

impl From<AutoCommandBufferBuilderContextError> for FillBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for BlitImageError[src]

impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for DispatchError[src]

impl From<AutoCommandBufferBuilderContextError> for BuildError[src]

impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyImageError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndexedIndirectError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyBufferError[src]

impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError[src]

impl From<AutoCommandBufferBuilderContextError> for ClearColorImageError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError[src]

impl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawError[src]

impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError[src]

impl Copy for AutoCommandBufferBuilderContextError[src]

impl Error for AutoCommandBufferBuilderContextError[src]

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

impl Debug for AutoCommandBufferBuilderContextError[src]

impl Clone for AutoCommandBufferBuilderContextError[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[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.

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

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

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

impl<T> Content for T[src]

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

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.