Enum retroimg::ResolutionError[][src]

pub enum ResolutionError {
    Non,
    RatioWithoutSide,
    TooMany,
}

Variants

Non

not enough components to resolve output resolution

RatioWithoutSide

‘width’ or ‘height’ are required alongside ‘pixel_ratio’

TooMany

‘pixel_ratio’, ‘width’ and ‘height’ cannot be used together

Trait Implementations

impl Debug for ResolutionError[src]

impl Display for ResolutionError[src]

impl Error for ResolutionError where
    Self: Debug + Display
[src]

impl ErrorCompat for ResolutionError[src]

impl IntoError<ResolutionError> for Non where
    ResolutionError: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<ResolutionError> for RatioWithoutSide where
    ResolutionError: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<ResolutionError> for TooMany where
    ResolutionError: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.