BuildFace

Trait BuildFace 

Source
pub trait BuildFace {
    // Provided methods
    fn unbound(surface: Handle<Surface>, services: &mut Services) -> Face { ... }
    fn triangle(
        points: [impl Into<Point<3>>; 3],
        services: &mut Services,
    ) -> Polygon<3> { ... }
}
Expand description

Build a Face

Provided Methods§

Source

fn unbound(surface: Handle<Surface>, services: &mut Services) -> Face

Build a face with an empty exterior, no interiors, and no color

Source

fn triangle( points: [impl Into<Point<3>>; 3], services: &mut Services, ) -> Polygon<3>

Build a triangle

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§