Struct polystrip::vertex::Vector3 [−][src]
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]
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.
fn deref(&self) -> &Self::Target
[src]
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]
fn partial_cmp(&self, other: &Vector3) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,