Trait rs_math3d::vector::Vector[][src]

pub trait Vector<T: Scalar, Rhs = Self, Output = Self>: Add<Rhs, Output = Output> + Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Mul<T, Output = Output> + Div<Rhs, Output = Output> + Div<T, Output = Output> + Neg<Output = Output> + Clone + Copy {
Show methods fn zero() -> Self;
fn add_vv(l: &Self, r: &Self) -> Self;
fn sub_vv(l: &Self, r: &Self) -> Self;
fn mul_vv(l: &Self, r: &Self) -> Self;
fn div_vv(l: &Self, r: &Self) -> Self;
fn mul_vs(l: &Self, r: T) -> Self;
fn div_vs(l: &Self, r: T) -> Self;
fn rem_vv(l: &Self, r: &Self) -> Self;
fn dot(l: &Self, r: &Self) -> T;
fn normalize(v: &Self) -> Self;
fn distance(l: &Self, r: &Self) -> T;
fn min(l: &Self, r: &Self) -> Self;
fn max(l: &Self, r: &Self) -> Self; fn length(&self) -> T { ... }
}

Required methods

Provided methods

Implementors