UpdateFace

Trait UpdateFace 

Source
pub trait UpdateFace {
    // Required methods
    fn update_exterior(
        &self,
        f: impl FnOnce(&Handle<Cycle>) -> Handle<Cycle>,
    ) -> Self;
    fn add_interiors(
        &self,
        interiors: impl IntoIterator<Item = Handle<Cycle>>,
    ) -> Self;
}
Expand description

Update a Face

Required Methods§

Source

fn update_exterior( &self, f: impl FnOnce(&Handle<Cycle>) -> Handle<Cycle>, ) -> Self

Update the exterior of the face

Source

fn add_interiors( &self, interiors: impl IntoIterator<Item = Handle<Cycle>>, ) -> Self

Add the provides interiors to the face

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§