Enum cv::core::FlipCode[][src]

pub enum FlipCode {
    XAxis,
    YAxis,
    XYAxis,
}

A flag to specify how to flip the image. see Mat::flip

Variants

XAxis

Along x-axis: dst[i, j] = src[src.rows - i - 1, j]

YAxis

Along y-axis: dst[i, j] = src[i, src.cols - j - 1]

XYAxis

Along both axis: dst[i, j] = src[src.rows - i - 1, src.cols - j - 1]

Trait Implementations

impl Clone for FlipCode[src]

impl Copy for FlipCode[src]

impl Debug for FlipCode[src]

impl Eq for FlipCode[src]

impl Hash for FlipCode[src]

impl PartialEq<FlipCode> for FlipCode[src]

impl StructuralEq for FlipCode[src]

impl StructuralPartialEq for FlipCode[src]

Auto Trait Implementations

impl RefUnwindSafe for FlipCode

impl Send for FlipCode

impl Sync for FlipCode

impl Unpin for FlipCode

impl UnwindSafe for FlipCode

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, 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.