[][src]Struct kit::V3

pub struct V3 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

Fields

x: f32y: f32z: f32

Implementations

impl V3[src]

pub const ZERO: V3[src]

pub const X: V3[src]

pub const Y: V3[src]

pub const Z: V3[src]

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

pub fn to_arr4(&self) -> [f32; 4][src]

Trait Implementations

impl Add<V3> for V3[src]

type Output = V3

The resulting type after applying the + operator.

impl Clone for V3[src]

impl Copy for V3[src]

impl Default for V3[src]

impl Display for V3[src]

impl From<V2> for V3[src]

impl Mul<f32> for V3[src]

type Output = V3

The resulting type after applying the * operator.

impl Sub<V3> for V3[src]

type Output = V3

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for V3

impl Send for V3

impl Sync for V3

impl Unpin for V3

impl UnwindSafe for V3

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> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,