Enum vulkano::image::AllocateImageError
source · pub enum AllocateImageError {
CreateImage(VulkanError),
AllocateMemory(MemoryAllocatorError),
BindMemory(VulkanError),
}
Expand description
Error that can happen when allocating a new image.
Variants§
Trait Implementations§
source§impl Clone for AllocateImageError
impl Clone for AllocateImageError
source§fn clone(&self) -> AllocateImageError
fn clone(&self) -> AllocateImageError
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 AllocateImageError
impl Debug for AllocateImageError
source§impl Display for AllocateImageError
impl Display for AllocateImageError
source§impl Error for AllocateImageError
impl Error for AllocateImageError
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<AllocateImageError> for Validated<AllocateImageError>
impl From<AllocateImageError> for Validated<AllocateImageError>
source§fn from(err: AllocateImageError) -> Self
fn from(err: AllocateImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AllocateImageError
impl Send for AllocateImageError
impl Sync for AllocateImageError
impl Unpin for AllocateImageError
impl UnwindSafe for AllocateImageError
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