Skip to main content

IsSurfaceMesh

Trait IsSurfaceMesh 

Source
pub trait IsSurfaceMesh<'a, T: IsPoint, N: IsUnitVector>: IsMesh<'a, T, N>
where <Self as HasEdges>::Edge: IsLine<'a, T>,
{ }
Expand description

Named alias for the surface-mesh interpretation of IsMesh.

This trait exists to make the intent of the current mesh abstraction obvious at the API level while preserving compatibility for existing IsMesh implementors.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, T, N, M> IsSurfaceMesh<'a, T, N> for M
where T: IsPoint, N: IsUnitVector, M: IsMesh<'a, T, N>, <M as HasEdges>::Edge: IsLine<'a, T>,