pub enum ExternalImagePropertiesError {
OutOfMemory(OutOfMemory),
FormatNotSupported,
}
Expand description
Error while enumerating external image properties. Returned from PhysicalDevice::external_image_properties.
Variants§
OutOfMemory(OutOfMemory)
Out of either host or device memory.
FormatNotSupported
Requested image format not supported in combination with other parameters.
Trait Implementations§
Source§impl Clone for ExternalImagePropertiesError
impl Clone for ExternalImagePropertiesError
Source§fn clone(&self) -> ExternalImagePropertiesError
fn clone(&self) -> ExternalImagePropertiesError
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 ExternalImagePropertiesError
impl Debug for ExternalImagePropertiesError
Source§impl Error for ExternalImagePropertiesError
impl Error for ExternalImagePropertiesError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<OutOfMemory> for ExternalImagePropertiesError
impl From<OutOfMemory> for ExternalImagePropertiesError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExternalImagePropertiesError
impl PartialEq for ExternalImagePropertiesError
Source§fn eq(&self, other: &ExternalImagePropertiesError) -> bool
fn eq(&self, other: &ExternalImagePropertiesError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExternalImagePropertiesError
Auto Trait Implementations§
impl Freeze for ExternalImagePropertiesError
impl RefUnwindSafe for ExternalImagePropertiesError
impl Send for ExternalImagePropertiesError
impl Sync for ExternalImagePropertiesError
impl Unpin for ExternalImagePropertiesError
impl UnwindSafe for ExternalImagePropertiesError
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