pub enum SyncCommandBufferBuilderError {
Conflict {
command1_name: &'static str,
command1_param: Cow<'static, str>,
command1_offset: usize,
command2_name: &'static str,
command2_param: Cow<'static, str>,
command2_offset: usize,
},
ExecError(CommandBufferExecError),
}
Expand description
Error returned if the builder detects that there’s an unsolvable conflict.
Variants
Conflict
Fields
command1_name: &'static str
command1_offset: usize
command2_name: &'static str
command2_offset: usize
Unsolvable conflict.
ExecError(CommandBufferExecError)
Trait Implementations
sourceimpl Clone for SyncCommandBufferBuilderError
impl Clone for SyncCommandBufferBuilderError
sourcefn clone(&self) -> SyncCommandBufferBuilderError
fn clone(&self) -> SyncCommandBufferBuilderError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SyncCommandBufferBuilderError
impl Debug for SyncCommandBufferBuilderError
sourceimpl Error for SyncCommandBufferBuilderError
impl Error for SyncCommandBufferBuilderError
1.30.0 · 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>
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
use the Display impl or to_string()
sourceimpl From<CommandBufferExecError> for SyncCommandBufferBuilderError
impl From<CommandBufferExecError> for SyncCommandBufferBuilderError
sourcefn from(val: CommandBufferExecError) -> Self
fn from(val: CommandBufferExecError) -> Self
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for BeginRenderPassError
impl From<SyncCommandBufferBuilderError> for BeginRenderPassError
sourcefn from(err: SyncCommandBufferBuilderError) -> BeginRenderPassError
fn from(err: SyncCommandBufferBuilderError) -> BeginRenderPassError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for CopyImageError
impl From<SyncCommandBufferBuilderError> for CopyImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyImageError
fn from(err: SyncCommandBufferBuilderError) -> CopyImageError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DrawIndexedError
impl From<SyncCommandBufferBuilderError> for DrawIndexedError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawIndexedError
fn from(err: SyncCommandBufferBuilderError) -> DrawIndexedError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DrawIndirectError
impl From<SyncCommandBufferBuilderError> for DrawIndirectError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawIndirectError
fn from(err: SyncCommandBufferBuilderError) -> DrawIndirectError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DrawIndexedIndirectError
impl From<SyncCommandBufferBuilderError> for DrawIndexedIndirectError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawIndexedIndirectError
fn from(err: SyncCommandBufferBuilderError) -> DrawIndexedIndirectError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
impl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
sourcefn from(err: SyncCommandBufferBuilderError) -> ExecuteCommandsError
fn from(err: SyncCommandBufferBuilderError) -> ExecuteCommandsError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for BlitImageError
impl From<SyncCommandBufferBuilderError> for BlitImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> BlitImageError
fn from(err: SyncCommandBufferBuilderError) -> BlitImageError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for ClearColorImageError
impl From<SyncCommandBufferBuilderError> for ClearColorImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> ClearColorImageError
fn from(err: SyncCommandBufferBuilderError) -> ClearColorImageError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for CopyBufferError
impl From<SyncCommandBufferBuilderError> for CopyBufferError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyBufferError
fn from(err: SyncCommandBufferBuilderError) -> CopyBufferError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for CopyBufferImageError
impl From<SyncCommandBufferBuilderError> for CopyBufferImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyBufferImageError
fn from(err: SyncCommandBufferBuilderError) -> CopyBufferImageError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for CopyQueryPoolResultsError
impl From<SyncCommandBufferBuilderError> for CopyQueryPoolResultsError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyQueryPoolResultsError
fn from(err: SyncCommandBufferBuilderError) -> CopyQueryPoolResultsError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DispatchError
impl From<SyncCommandBufferBuilderError> for DispatchError
sourcefn from(err: SyncCommandBufferBuilderError) -> DispatchError
fn from(err: SyncCommandBufferBuilderError) -> DispatchError
Performs the conversion.
sourceimpl From<SyncCommandBufferBuilderError> for DispatchIndirectError
impl From<SyncCommandBufferBuilderError> for DispatchIndirectError
sourcefn from(err: SyncCommandBufferBuilderError) -> DispatchIndirectError
fn from(err: SyncCommandBufferBuilderError) -> DispatchIndirectError
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 SyncCommandBufferBuilderError
impl Send for SyncCommandBufferBuilderError
impl Sync for SyncCommandBufferBuilderError
impl Unpin for SyncCommandBufferBuilderError
impl UnwindSafe for SyncCommandBufferBuilderError
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more