#[non_exhaustive]pub enum BasisuTranscodeError {
EmptyInputData,
LoadKtx2DataFailed,
InvalidFaceCount(u32),
UnsupportedTranscodeTarget,
BtStartTranscodingFailed,
BtTranscodeImageLevelFailed,
}Available on crate feature
extra only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyInputData
LoadKtx2DataFailed
InvalidFaceCount(u32)
UnsupportedTranscodeTarget
BtStartTranscodingFailed
BtTranscodeImageLevelFailed
Trait Implementations§
Source§impl Debug for BasisuTranscodeError
impl Debug for BasisuTranscodeError
Source§impl Display for BasisuTranscodeError
impl Display for BasisuTranscodeError
Source§impl Error for BasisuTranscodeError
impl Error for BasisuTranscodeError
1.30.0 · 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 PartialEq for BasisuTranscodeError
impl PartialEq for BasisuTranscodeError
Source§fn eq(&self, other: &BasisuTranscodeError) -> bool
fn eq(&self, other: &BasisuTranscodeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BasisuTranscodeError
Auto Trait Implementations§
impl Freeze for BasisuTranscodeError
impl RefUnwindSafe for BasisuTranscodeError
impl Send for BasisuTranscodeError
impl Sync for BasisuTranscodeError
impl Unpin for BasisuTranscodeError
impl UnsafeUnpin for BasisuTranscodeError
impl UnwindSafe for BasisuTranscodeError
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