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§
source§impl Clone for WindowPropertyFlags
impl Clone for WindowPropertyFlags
source§fn clone(&self) -> WindowPropertyFlags
fn clone(&self) -> WindowPropertyFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowPropertyFlags
impl Debug for WindowPropertyFlags
source§impl PartialEq<WindowPropertyFlags> for WindowPropertyFlags
impl PartialEq<WindowPropertyFlags> for WindowPropertyFlags
source§fn eq(&self, other: &WindowPropertyFlags) -> bool
fn eq(&self, other: &WindowPropertyFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more