[][src]Struct v6_generics_do_not_use::Point

pub struct Point<N> {
    pub x: N,
    pub y: N,
}

Fields

x: Ny: N

Implementations

impl<N> Point<N>[src]

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

impl<N: AddAssign + Clone> Point<N>[src]

pub fn transpose(&mut self, p: &Self)[src]

Trait Implementations

impl<N: Add<Output = N> + Clone> Add<Point<N>> for Point<N>[src]

type Output = Self

The resulting type after applying the + operator.

impl<N: Clone> Clone for Point<N>[src]

impl<N: Debug> Debug for Point<N>[src]

impl<N: PartialEq> PartialEq<Point<N>> for Point<N>[src]

impl<N> StructuralPartialEq for Point<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Point<N> where
    N: RefUnwindSafe

impl<N> Send for Point<N> where
    N: Send

impl<N> Sync for Point<N> where
    N: Sync

impl<N> Unpin for Point<N> where
    N: Unpin

impl<N> UnwindSafe for Point<N> where
    N: UnwindSafe

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.