[][src]Trait nova_math::traits::Length

pub trait Length {
    type Output;
    fn length(&self) -> Self::Output;
}

This type abstracts a vector or other object that can represents a length

Associated Types

type Output

Loading content...

Required methods

fn length(&self) -> Self::Output

Loading content...

Implementors

impl<T: Real> Length for TVec2<T>[src]

type Output = T

impl<T: Real> Length for TVec3<T>[src]

type Output = T

impl<T: Real> Length for TVec4<T>[src]

type Output = T

Loading content...