pub enum DeviceLocalBufferCreationError {
DeviceMemoryAllocationError(DeviceMemoryError),
CommandBufferBeginError(CommandBufferBeginError),
}
Variants
DeviceMemoryAllocationError(DeviceMemoryError)
CommandBufferBeginError(CommandBufferBeginError)
Trait Implementations
sourceimpl Clone for DeviceLocalBufferCreationError
impl Clone for DeviceLocalBufferCreationError
sourcefn clone(&self) -> DeviceLocalBufferCreationError
fn clone(&self) -> DeviceLocalBufferCreationError
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 Error for DeviceLocalBufferCreationError
impl Error for DeviceLocalBufferCreationError
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
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<CommandBufferBeginError> for DeviceLocalBufferCreationError
impl From<CommandBufferBeginError> for DeviceLocalBufferCreationError
sourcefn from(e: CommandBufferBeginError) -> Self
fn from(e: CommandBufferBeginError) -> Self
Converts to this type from the input type.
sourceimpl From<DeviceMemoryError> for DeviceLocalBufferCreationError
impl From<DeviceMemoryError> for DeviceLocalBufferCreationError
sourcefn from(e: DeviceMemoryError) -> Self
fn from(e: DeviceMemoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DeviceLocalBufferCreationError
impl Send for DeviceLocalBufferCreationError
impl Sync for DeviceLocalBufferCreationError
impl Unpin for DeviceLocalBufferCreationError
impl UnwindSafe for DeviceLocalBufferCreationError
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