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,
},
}
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.
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 moresourceimpl Debug for SyncCommandBufferBuilderError
impl Debug for SyncCommandBufferBuilderError
sourceimpl Error for SyncCommandBufferBuilderError
impl Error for SyncCommandBufferBuilderError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
sourceimpl From<SyncCommandBufferBuilderError> for BeginRenderPassError
impl From<SyncCommandBufferBuilderError> for BeginRenderPassError
sourcefn from(err: SyncCommandBufferBuilderError) -> BeginRenderPassError
fn from(err: SyncCommandBufferBuilderError) -> BeginRenderPassError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for BlitImageError
impl From<SyncCommandBufferBuilderError> for BlitImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> BlitImageError
fn from(err: SyncCommandBufferBuilderError) -> BlitImageError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for ClearColorImageError
impl From<SyncCommandBufferBuilderError> for ClearColorImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> ClearColorImageError
fn from(err: SyncCommandBufferBuilderError) -> ClearColorImageError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for CopyBufferError
impl From<SyncCommandBufferBuilderError> for CopyBufferError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyBufferError
fn from(err: SyncCommandBufferBuilderError) -> CopyBufferError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for CopyBufferImageError
impl From<SyncCommandBufferBuilderError> for CopyBufferImageError
sourcefn from(err: SyncCommandBufferBuilderError) -> CopyBufferImageError
fn from(err: SyncCommandBufferBuilderError) -> CopyBufferImageError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for DispatchError
impl From<SyncCommandBufferBuilderError> for DispatchError
sourcefn from(err: SyncCommandBufferBuilderError) -> DispatchError
fn from(err: SyncCommandBufferBuilderError) -> DispatchError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for DrawError
impl From<SyncCommandBufferBuilderError> for DrawError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawError
fn from(err: SyncCommandBufferBuilderError) -> DrawError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for DrawIndexedError
impl From<SyncCommandBufferBuilderError> for DrawIndexedError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawIndexedError
fn from(err: SyncCommandBufferBuilderError) -> DrawIndexedError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for DrawIndirectError
impl From<SyncCommandBufferBuilderError> for DrawIndirectError
sourcefn from(err: SyncCommandBufferBuilderError) -> DrawIndirectError
fn from(err: SyncCommandBufferBuilderError) -> DrawIndirectError
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
impl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
sourcefn from(err: SyncCommandBufferBuilderError) -> ExecuteCommandsError
fn from(err: SyncCommandBufferBuilderError) -> ExecuteCommandsError
Converts to this type from the input type.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.