Enum opencv::highgui::WindowPropertyFlags
source · [−]#[repr(C)]
pub enum WindowPropertyFlags {
WND_PROP_FULLSCREEN,
WND_PROP_AUTOSIZE,
WND_PROP_ASPECT_RATIO,
WND_PROP_OPENGL,
WND_PROP_VISIBLE,
WND_PROP_TOPMOST,
WND_PROP_VSYNC,
}
Expand description
Flags for cv::setWindowProperty / cv::getWindowProperty
Variants
WND_PROP_FULLSCREEN
fullscreen property (can be WINDOW_NORMAL or WINDOW_FULLSCREEN).
WND_PROP_AUTOSIZE
autosize property (can be WINDOW_NORMAL or WINDOW_AUTOSIZE).
WND_PROP_ASPECT_RATIO
window’s aspect ration (can be set to WINDOW_FREERATIO or WINDOW_KEEPRATIO).
WND_PROP_OPENGL
opengl support.
WND_PROP_VISIBLE
checks whether the window exists and is visible
WND_PROP_TOPMOST
property to toggle normal window being topmost or not
WND_PROP_VSYNC
enable or disable VSYNC (in OpenGL mode)
Trait Implementations
sourceimpl Clone for WindowPropertyFlags
impl Clone for WindowPropertyFlags
sourcefn clone(&self) -> WindowPropertyFlags
fn clone(&self) -> WindowPropertyFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowPropertyFlags
impl Debug for WindowPropertyFlags
sourceimpl PartialEq<WindowPropertyFlags> for WindowPropertyFlags
impl PartialEq<WindowPropertyFlags> for WindowPropertyFlags
sourcefn eq(&self, other: &WindowPropertyFlags) -> bool
fn eq(&self, other: &WindowPropertyFlags) -> bool
impl Copy for WindowPropertyFlags
impl Eq for WindowPropertyFlags
impl StructuralEq for WindowPropertyFlags
impl StructuralPartialEq for WindowPropertyFlags
Auto Trait Implementations
impl RefUnwindSafe for WindowPropertyFlags
impl Send for WindowPropertyFlags
impl Sync for WindowPropertyFlags
impl Unpin for WindowPropertyFlags
impl UnwindSafe for WindowPropertyFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more