Trait Length

Source
pub trait Length {
    type Output;

    // Required method
    fn length(&self) -> Self::Output;
}
Expand description

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

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<T: Real> Length for TVec2<T>

Source§

impl<T: Real> Length for TVec3<T>

Source§

impl<T: Real> Length for TVec4<T>