Struct artano::Error [−][src]
pub struct Error { /* fields omitted */ }
Methods
impl Error
[src]
impl Error
pub fn io<D, E>(e: E, description: D) -> Error where
D: Into<Cow<'static, str>>,
E: Error + 'static,
[src]
pub fn io<D, E>(e: E, description: D) -> Error where
D: Into<Cow<'static, str>>,
E: Error + 'static,
pub fn font<D, E>(e: E, description: D) -> Error where
D: Into<Cow<'static, str>>,
E: Error + 'static,
[src]
pub fn font<D, E>(e: E, description: D) -> Error where
D: Into<Cow<'static, str>>,
E: Error + 'static,
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ImageError> for Error
[src]
impl From<ImageError> for Error
fn from(error: ImageError) -> Error
[src]
fn from(error: ImageError) -> Error
Performs the conversion.