[][src]Enum iiif::Rotation

pub enum Rotation {
    Normal(f32),
    Mirror(f32),
}

The rotation parameter specifies mirroring and rotation. A leading exclamation mark (“!”) indicates that the image should be mirrored by reflection on the vertical axis before any rotation is applied. The numerical value represents the number of degrees of clockwise rotation, and may be any floating point number from 0 to 360.

The default is Rotation::N(0.0)

FormDescription
Normal(n)The degrees of clockwise rotation from 0 up to 360.
Mirror(n)The image should be mirrored and then rotated as above.

Variants

Normal(f32)
Mirror(f32)

Trait Implementations

impl Clone for Rotation[src]

impl Debug for Rotation[src]

impl Default for Rotation[src]

impl PartialEq<Rotation> for Rotation[src]

impl StructuralPartialEq for Rotation[src]

impl ToString for Rotation[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.