[][src]Trait rust_3d::HasLength

pub trait HasLength {
    fn length(&self) -> f64;
}

HasLength is a trait used for types which have a physical length

Required methods

fn length(&self) -> f64

Should return the physical length

Loading content...

Implementors

impl HasLength for LineSegment2D[src]

impl HasLength for LineSegment3D[src]

impl<P> HasLength for PointCloud2D<P> where
    P: Is2D
[src]

impl<P> HasLength for PointCloud3D<P> where
    P: Is3D
[src]

impl<P> HasLength for Polygon2D<P> where
    P: Is2D
[src]

impl<P> HasLength for Polygon3D<P> where
    P: Is3D
[src]

Loading content...