pub enum CreateBlasError {
Device(DeviceError),
MissingFeatures(MissingFeatures),
MissingIndexData,
InvalidVertexFormat(VertexFormat, Vec<VertexFormat>),
}
Variants§
Device(DeviceError)
MissingFeatures(MissingFeatures)
MissingIndexData
InvalidVertexFormat(VertexFormat, Vec<VertexFormat>)
Trait Implementations§
source§impl Clone for CreateBlasError
impl Clone for CreateBlasError
source§fn clone(&self) -> CreateBlasError
fn clone(&self) -> CreateBlasError
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 CreateBlasError
impl Debug for CreateBlasError
source§impl Display for CreateBlasError
impl Display for CreateBlasError
source§impl Error for CreateBlasError
impl Error for CreateBlasError
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<DeviceError> for CreateBlasError
impl From<DeviceError> for CreateBlasError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<MissingFeatures> for CreateBlasError
impl From<MissingFeatures> for CreateBlasError
source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateBlasError
impl RefUnwindSafe for CreateBlasError
impl Send for CreateBlasError
impl Sync for CreateBlasError
impl Unpin for CreateBlasError
impl UnwindSafe for CreateBlasError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)