Enum vulkano::command_buffer::DrawError
source · [−]pub enum DrawError {
AutoCommandBufferBuilderContextError(AutoCommandBufferBuilderContextError),
CheckPipelineError(CheckPipelineError),
CheckDynamicStateValidityError(CheckDynamicStateValidityError),
CheckPushConstantsValidityError(CheckPushConstantsValidityError),
CheckDescriptorSetsValidityError(CheckDescriptorSetsValidityError),
CheckVertexBufferError(CheckVertexBufferError),
SyncCommandBufferBuilderError(SyncCommandBufferBuilderError),
}
Variants
AutoCommandBufferBuilderContextError(AutoCommandBufferBuilderContextError)
CheckPipelineError(CheckPipelineError)
CheckDynamicStateValidityError(CheckDynamicStateValidityError)
CheckPushConstantsValidityError(CheckPushConstantsValidityError)
CheckDescriptorSetsValidityError(CheckDescriptorSetsValidityError)
CheckVertexBufferError(CheckVertexBufferError)
SyncCommandBufferBuilderError(SyncCommandBufferBuilderError)
Trait Implementations
sourceimpl Error for DrawError
impl Error for DrawError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<AutoCommandBufferBuilderContextError> for DrawError
impl From<AutoCommandBufferBuilderContextError> for DrawError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DrawError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawError
Performs the conversion.
sourceimpl From<CheckDescriptorSetsValidityError> for DrawError
impl From<CheckDescriptorSetsValidityError> for DrawError
sourcefn from(err: CheckDescriptorSetsValidityError) -> DrawError
fn from(err: CheckDescriptorSetsValidityError) -> DrawError
Performs the conversion.
sourceimpl From<CheckDynamicStateValidityError> for DrawError
impl From<CheckDynamicStateValidityError> for DrawError
sourcefn from(err: CheckDynamicStateValidityError) -> DrawError
fn from(err: CheckDynamicStateValidityError) -> DrawError
Performs the conversion.
sourceimpl From<CheckPipelineError> for DrawError
impl From<CheckPipelineError> for DrawError
sourcefn from(err: CheckPipelineError) -> DrawError
fn from(err: CheckPipelineError) -> DrawError
Performs the conversion.
sourceimpl From<CheckPushConstantsValidityError> for DrawError
impl From<CheckPushConstantsValidityError> for DrawError
sourcefn from(err: CheckPushConstantsValidityError) -> DrawError
fn from(err: CheckPushConstantsValidityError) -> DrawError
Performs the conversion.
sourceimpl From<CheckVertexBufferError> for DrawError
impl From<CheckVertexBufferError> for DrawError
sourcefn from(err: CheckVertexBufferError) -> DrawError
fn from(err: CheckVertexBufferError) -> DrawError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DrawError
impl From<SyncCommandBufferBuilderError> for DrawError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawError
fn from(err: SyncCommandBufferBuilderError) -> DrawError
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DrawError
impl Send for DrawError
impl Sync for DrawError
impl Unpin for DrawError
impl UnwindSafe for DrawError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more