Enum opencv::imgproc::MarkerTypes[][src]

#[repr(C)]
pub enum MarkerTypes {
    MARKER_CROSS,
    MARKER_TILTED_CROSS,
    MARKER_STAR,
    MARKER_DIAMOND,
    MARKER_SQUARE,
    MARKER_TRIANGLE_UP,
    MARKER_TRIANGLE_DOWN,
}
Expand description

Possible set of marker types used for the cv::drawMarker function @ingroup imgproc_draw

Variants

MARKER_CROSS

A crosshair marker shape

MARKER_TILTED_CROSS

A 45 degree tilted crosshair marker shape

MARKER_STAR

A star marker shape, combination of cross and tilted cross

MARKER_DIAMOND

A diamond marker shape

MARKER_SQUARE

A square marker shape

MARKER_TRIANGLE_UP

An upwards pointing triangle marker shape

MARKER_TRIANGLE_DOWN

A downwards pointing triangle marker shape

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.