Enum cv::highgui::WindowFlag[][src]

#[repr(C)]pub enum WindowFlag {
    Normal,
    Autosize,
    Opengl,
    FreeRatio,
}

Flags for highgui_named_window. This only supports a subset of all cv::WindowFlags because C/C++ allows enum with the same value but Rust is stricter.

Variants

Normal

the window can be resized (no constraint) or switched to fullscreen.

Autosize

the window is constrained by the image displayed.

Opengl

the window is with opengl support.

FreeRatio

the window can be resized arbitrarily (no ratio constraint).

Trait Implementations

impl Clone for WindowFlag[src]

impl Copy for WindowFlag[src]

impl Debug for WindowFlag[src]

impl Eq for WindowFlag[src]

impl Hash for WindowFlag[src]

impl PartialEq<WindowFlag> for WindowFlag[src]

impl StructuralEq for WindowFlag[src]

impl StructuralPartialEq for WindowFlag[src]

Auto Trait Implementations

impl RefUnwindSafe for WindowFlag

impl Send for WindowFlag

impl Sync for WindowFlag

impl Unpin for WindowFlag

impl UnwindSafe for WindowFlag

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.