Enum vulkano::buffer::AllocateBufferError
source · pub enum AllocateBufferError {
CreateBuffer(VulkanError),
AllocateMemory(MemoryAllocatorError),
BindMemory(VulkanError),
}
Expand description
Error that can happen when allocating a new buffer.
Variants§
Trait Implementations§
source§impl Clone for AllocateBufferError
impl Clone for AllocateBufferError
source§fn clone(&self) -> AllocateBufferError
fn clone(&self) -> AllocateBufferError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AllocateBufferError
impl Debug for AllocateBufferError
source§impl Display for AllocateBufferError
impl Display for AllocateBufferError
source§impl Error for AllocateBufferError
impl Error for AllocateBufferError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AllocateBufferError> for Validated<AllocateBufferError>
impl From<AllocateBufferError> for Validated<AllocateBufferError>
source§fn from(err: AllocateBufferError) -> Self
fn from(err: AllocateBufferError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AllocateBufferError
impl Send for AllocateBufferError
impl Sync for AllocateBufferError
impl Unpin for AllocateBufferError
impl UnwindSafe for AllocateBufferError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more