Struct polystrip::vertex::Vector2[][src]

#[repr(transparent)]pub struct Vector2(pub Vector2<f32>);

A 2D vector in screen space

Implementations

impl Vector2[src]

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

pub fn with_height(self, height: f32) -> Vector3[src]

Methods from Deref<Target = Vector2<f32>>

Trait Implementations

impl Clone for Vector2[src]

impl Copy for Vector2[src]

impl Debug for Vector2[src]

impl Deref for Vector2[src]

type Target = Vector2<f32>

The resulting type after dereferencing.

impl DerefMut for Vector2[src]

impl From<[f32; 2]> for Vector2[src]

impl From<Vector2<f32>> for Vector2[src]

impl From<Vector2> for Vector2<f32>[src]

impl PartialEq<Vector2> for Vector2[src]

impl PartialOrd<Vector2> for Vector2[src]

impl Pod for Vector2[src]

impl StructuralPartialEq for Vector2[src]

impl Zeroable for Vector2[src]

Auto Trait Implementations

impl RefUnwindSafe for Vector2

impl Send for Vector2

impl Sync for Vector2

impl Unpin for Vector2

impl UnwindSafe for Vector2

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.