Enum conrod_vulkano::DrawError
source · pub enum DrawError {
PersistentDescriptorSet(PersistentDescriptorSetError),
PersistentDescriptorSetBuild(PersistentDescriptorSetBuildError),
VertexBufferAlloc(DeviceMemoryAllocError),
}
Expand description
Errors that might occur during draw calls.
Variants§
PersistentDescriptorSet(PersistentDescriptorSetError)
PersistentDescriptorSetBuild(PersistentDescriptorSetBuildError)
VertexBufferAlloc(DeviceMemoryAllocError)
Trait Implementations§
source§impl Error for DrawError
impl Error for DrawError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn StdError>
fn cause(&self) -> Option<&dyn StdError>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<DeviceMemoryAllocError> for DrawError
impl From<DeviceMemoryAllocError> for DrawError
source§fn from(err: DeviceMemoryAllocError) -> Self
fn from(err: DeviceMemoryAllocError) -> Self
Converts to this type from the input type.
source§impl From<PersistentDescriptorSetBuildError> for DrawError
impl From<PersistentDescriptorSetBuildError> for DrawError
source§fn from(err: PersistentDescriptorSetBuildError) -> Self
fn from(err: PersistentDescriptorSetBuildError) -> Self
Converts to this type from the input type.
source§impl From<PersistentDescriptorSetError> for DrawError
impl From<PersistentDescriptorSetError> for DrawError
source§fn from(err: PersistentDescriptorSetError) -> Self
fn from(err: PersistentDescriptorSetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DrawError
impl Send for DrawError
impl Sync for DrawError
impl Unpin for DrawError
impl UnwindSafe for DrawError
Blanket Implementations§
source§impl<T> Content for T
impl<T> Content for T
source§fn 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.
source§fn 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.
source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.