Enum amethyst_renderer::ImageError [−]
pub enum ImageError {
InvalidData(&'static str),
InvalidArg(&'static str),
Unsupported(&'static str),
Internal(&'static str),
Io(Error),
}Error.
Variants
InvalidData(&'static str)InvalidArg(&'static str)Unsupported(&'static str)Internal(&'static str)Io(Error)
Trait Implementations
impl From<Error> for Error
impl From<Error> for Errorimpl Display for Error
impl Display for Errorfn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for Error
impl Error for Errorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Debug for Error
impl Debug for Error