pub trait UpdateCycle {
// Required methods
fn add_half_edges(
&self,
half_edges: impl IntoIterator<Item = Handle<HalfEdge>>,
) -> Cycle;
fn replace_half_edge(
&self,
original: &Handle<HalfEdge>,
replacement: Handle<HalfEdge>,
) -> Cycle;
fn update_nth_half_edge(
&self,
index: usize,
f: impl FnMut(&Handle<HalfEdge>) -> Handle<HalfEdge>,
) -> Cycle;
}Expand description
Update a Cycle
Required Methods§
Sourcefn add_half_edges(
&self,
half_edges: impl IntoIterator<Item = Handle<HalfEdge>>,
) -> Cycle
fn add_half_edges( &self, half_edges: impl IntoIterator<Item = Handle<HalfEdge>>, ) -> Cycle
Add half-edges to the cycle
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.