pub enum CreateImageTextureError {
SwizzleMibl(SwizzleError),
SwizzleMtxt(SwizzleError),
Binrw(Error),
Stream(DecompressStreamError),
Surface(SurfaceError),
Mibl(CreateMiblError),
}Variants§
SwizzleMibl(SwizzleError)
SwizzleMtxt(SwizzleError)
Binrw(Error)
Stream(DecompressStreamError)
Surface(SurfaceError)
Mibl(CreateMiblError)
Trait Implementations§
Source§impl Debug for CreateImageTextureError
impl Debug for CreateImageTextureError
Source§impl Display for CreateImageTextureError
impl Display for CreateImageTextureError
Source§impl Error for CreateImageTextureError
impl Error for CreateImageTextureError
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<CreateImageTextureError> for LoadMapError
impl From<CreateImageTextureError> for LoadMapError
Source§fn from(source: CreateImageTextureError) -> Self
fn from(source: CreateImageTextureError) -> Self
Converts to this type from the input type.
Source§impl From<CreateImageTextureError> for LoadModelError
impl From<CreateImageTextureError> for LoadModelError
Source§fn from(source: CreateImageTextureError) -> Self
fn from(source: CreateImageTextureError) -> Self
Converts to this type from the input type.
Source§impl From<CreateImageTextureError> for LoadModelLegacyError
impl From<CreateImageTextureError> for LoadModelLegacyError
Source§fn from(source: CreateImageTextureError) -> Self
fn from(source: CreateImageTextureError) -> Self
Converts to this type from the input type.
Source§impl From<CreateMiblError> for CreateImageTextureError
impl From<CreateMiblError> for CreateImageTextureError
Source§fn from(source: CreateMiblError) -> Self
fn from(source: CreateMiblError) -> Self
Converts to this type from the input type.
Source§impl From<DecompressStreamError> for CreateImageTextureError
impl From<DecompressStreamError> for CreateImageTextureError
Source§fn from(source: DecompressStreamError) -> Self
fn from(source: DecompressStreamError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CreateImageTextureError
impl From<Error> for CreateImageTextureError
Source§impl From<SurfaceError> for CreateImageTextureError
impl From<SurfaceError> for CreateImageTextureError
Source§fn from(source: SurfaceError) -> Self
fn from(source: SurfaceError) -> Self
Converts to this type from the input type.
Source§impl From<SwizzleError> for CreateImageTextureError
impl From<SwizzleError> for CreateImageTextureError
Source§fn from(source: SwizzleError) -> Self
fn from(source: SwizzleError) -> Self
Converts to this type from the input type.
Source§impl From<SwizzleError> for CreateImageTextureError
impl From<SwizzleError> for CreateImageTextureError
Source§fn from(source: SwizzleError) -> Self
fn from(source: SwizzleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateImageTextureError
impl !RefUnwindSafe for CreateImageTextureError
impl Send for CreateImageTextureError
impl Sync for CreateImageTextureError
impl Unpin for CreateImageTextureError
impl !UnwindSafe for CreateImageTextureError
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> CustomError for T
impl<T> CustomError for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more