Enum vulkano::instance::LayersListError
source · pub enum LayersListError {
LoadingError(LoadingError),
OomError(OomError),
}
Expand description
Error that can happen when loading the list of layers.
Variants
LoadingError(LoadingError)
Failed to load the Vulkan shared library.
OomError(OomError)
Not enough memory.
Trait Implementations
sourceimpl Clone for LayersListError
impl Clone for LayersListError
sourcefn clone(&self) -> LayersListError
fn clone(&self) -> LayersListError
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 LayersListError
impl Debug for LayersListError
sourceimpl Display for LayersListError
impl Display for LayersListError
sourceimpl Error for LayersListError
impl Error for LayersListError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<LoadingError> for LayersListError
impl From<LoadingError> for LayersListError
sourcefn from(err: LoadingError) -> LayersListError
fn from(err: LoadingError) -> LayersListError
Converts to this type from the input type.
sourceimpl From<OomError> for LayersListError
impl From<OomError> for LayersListError
sourcefn from(err: OomError) -> LayersListError
fn from(err: OomError) -> LayersListError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for LayersListError
impl Send for LayersListError
impl Sync for LayersListError
impl Unpin for LayersListError
impl UnwindSafe for LayersListError
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.