Struct image::error::ParameterError [−][src]
pub struct ParameterError { /* fields omitted */ }
An error was encountered in inputs arguments.
This is used as an opaque representation for the ImageError::Parameter
variant. See its
documentation for more information.
Implementations
impl ParameterError
[src]
impl ParameterError
[src]pub fn from_kind(kind: ParameterErrorKind) -> Self
[src]
Construct a ParameterError
directly from a corresponding kind.
pub fn kind(&self) -> ParameterErrorKind
[src]
Returns the corresponding ParameterErrorKind
of the error.
Trait Implementations
impl Display for ParameterError
[src]
impl Display for ParameterError
[src]