#[repr(C)]pub enum MarkerTypes {
MARKER_CROSS = 0,
MARKER_TILTED_CROSS = 1,
MARKER_STAR = 2,
MARKER_DIAMOND = 3,
MARKER_SQUARE = 4,
MARKER_TRIANGLE_UP = 5,
MARKER_TRIANGLE_DOWN = 6,
}Expand description
Possible set of marker types used for the cv::drawMarker function @ingroup imgproc_draw
Variants§
MARKER_CROSS = 0
A crosshair marker shape
MARKER_TILTED_CROSS = 1
A 45 degree tilted crosshair marker shape
MARKER_STAR = 2
A star marker shape, combination of cross and tilted cross
MARKER_DIAMOND = 3
A diamond marker shape
MARKER_SQUARE = 4
A square marker shape
MARKER_TRIANGLE_UP = 5
An upwards pointing triangle marker shape
MARKER_TRIANGLE_DOWN = 6
A downwards pointing triangle marker shape
Trait Implementations§
Source§impl Clone for MarkerTypes
impl Clone for MarkerTypes
Source§fn clone(&self) -> MarkerTypes
fn clone(&self) -> MarkerTypes
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarkerTypes
impl Debug for MarkerTypes
Source§impl From<MarkerTypes> for i32
impl From<MarkerTypes> for i32
Source§fn from(v: MarkerTypes) -> Self
fn from(v: MarkerTypes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MarkerTypes
impl PartialEq for MarkerTypes
Source§impl TryFrom<i32> for MarkerTypes
impl TryFrom<i32> for MarkerTypes
impl Copy for MarkerTypes
impl Eq for MarkerTypes
impl StructuralPartialEq for MarkerTypes
Auto Trait Implementations§
impl Freeze for MarkerTypes
impl RefUnwindSafe for MarkerTypes
impl Send for MarkerTypes
impl Sync for MarkerTypes
impl Unpin for MarkerTypes
impl UnwindSafe for MarkerTypes
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