Enum nutexb::ReadDdsError
source · pub enum ReadDdsError {
UnrecognizedFormat,
SwizzleError(SwizzleError),
}
Expand description
Errors while creating a nutexb file from a DDS file.
Variants§
UnrecognizedFormat
The DDS format is not a recognized or supported nutexb format.
SwizzleError(SwizzleError)
The DDS data could not be swizzled. This usually means the DDS header does not accurately describe the image data.
Trait Implementations§
source§impl Debug for ReadDdsError
impl Debug for ReadDdsError
source§impl Display for ReadDdsError
impl Display for ReadDdsError
source§impl Error for ReadDdsError
impl Error for ReadDdsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<SwizzleError> for ReadDdsError
impl From<SwizzleError> for ReadDdsError
source§fn from(value: SwizzleError) -> Self
fn from(value: SwizzleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ReadDdsError
impl Send for ReadDdsError
impl Sync for ReadDdsError
impl Unpin for ReadDdsError
impl UnwindSafe for ReadDdsError
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