Struct polystrip::vertex::Vector3[][src]

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

A 3D vector in screen space

Height

The z coordinate of this vector, is uncapped linear height, used to affect the render output. Out of a set of shapes drawn at the same height, the one drawn last appears on top. Out of a set of shapes drawn at different heights, the one with the greatest height appears on top.

Additionally, height interpolates linearly between vertices.

Implementations

impl Vector3[src]

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

Methods from Deref<Target = Vector3<f32>>

Trait Implementations

impl Clone for Vector3[src]

impl Copy for Vector3[src]

impl Debug for Vector3[src]

impl Deref for Vector3[src]

type Target = Vector3<f32>

The resulting type after dereferencing.

impl DerefMut for Vector3[src]

impl From<[f32; 3]> for Vector3[src]

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

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

impl PartialEq<Vector3> for Vector3[src]

impl PartialOrd<Vector3> for Vector3[src]

impl Pod for Vector3[src]

impl StructuralPartialEq for Vector3[src]

impl Zeroable for Vector3[src]

Auto Trait Implementations

impl RefUnwindSafe for Vector3

impl Send for Vector3

impl Sync for Vector3

impl Unpin for Vector3

impl UnwindSafe for Vector3

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.