[][src]Struct kas::geom::Vec3

#[repr(C)]pub struct Vec3(pub f32, pub f32, pub f32);

3D vector

Usually used for a 2D coordinate with a depth value.

Implementations

impl Vec3[src]

pub fn from2(v: Vec2, z: f32) -> Self[src]

Construct from a Vec2 and third value

Trait Implementations

impl Clone for Vec3[src]

impl Copy for Vec3[src]

impl Debug for Vec3[src]

impl Default for Vec3[src]

impl PartialEq<Vec3> for Vec3[src]

impl StructuralPartialEq for Vec3[src]

Auto Trait Implementations

impl RefUnwindSafe for Vec3

impl Send for Vec3

impl Sync for Vec3

impl Unpin for Vec3

impl UnwindSafe for Vec3

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.