Struct cv::core::Point2i[][src]

#[repr(C)]pub struct Point2i {
    pub x: c_int,
    pub y: c_int,
}

2D integer points specified by its coordinates x and y.

Fields

x: c_int

x coordinate

y: c_int

y coordinate

Implementations

impl Point2i[src]

pub fn new(x: c_int, y: c_int) -> Self[src]

Creats a new Point2i.

Trait Implementations

impl Clone for Point2i[src]

impl Copy for Point2i[src]

impl Debug for Point2i[src]

impl Default for Point2i[src]

Auto Trait Implementations

impl RefUnwindSafe for Point2i

impl Send for Point2i

impl Sync for Point2i

impl Unpin for Point2i

impl UnwindSafe for Point2i

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.