[][src]Struct seamcarving::Rotated

pub struct Rotated<'a, IMG: GenericImageView>(pub &'a IMG);

Represents an image with the x and y coordinates reversed.

In geometric terms, the operation is the combination of a 90° rotation and a symmetry along the Y axis.

This operation is idempotent: Rotated(Rotated(img)) = img

Trait Implementations

impl<'a, IMG: GenericImageView> GenericImageView for Rotated<'a, IMG>[src]

type Pixel = IMG::Pixel

The type of pixel.

type InnerImageView = IMG::InnerImageView

Underlying image type. This is mainly used by SubImages in order to always have a reference to the original image. This allows for less indirections and it eases the use of nested SubImages. Read more

Auto Trait Implementations

impl<'a, IMG> RefUnwindSafe for Rotated<'a, IMG> where
    IMG: RefUnwindSafe

impl<'a, IMG> Send for Rotated<'a, IMG> where
    IMG: Sync

impl<'a, IMG> Sync for Rotated<'a, IMG> where
    IMG: Sync

impl<'a, IMG> Unpin for Rotated<'a, IMG>

impl<'a, IMG> UnwindSafe for Rotated<'a, IMG> where
    IMG: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> SetParameter for T

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.