Struct cv::core::Point2f[][src]

#[repr(C)]pub struct Point2f {
    pub x: f32,
    pub y: f32,
}

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

Fields

x: f32

x coordinate

y: f32

y coordinate

Implementations

impl Point2f[src]

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

Creats a new Point2f.

Trait Implementations

impl Clone for Point2f[src]

impl Copy for Point2f[src]

impl Debug for Point2f[src]

impl Default for Point2f[src]

Auto Trait Implementations

impl RefUnwindSafe for Point2f

impl Send for Point2f

impl Sync for Point2f

impl Unpin for Point2f

impl UnwindSafe for Point2f

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.