pub trait ReplaceVertex: Sized {
    type BareObject;

    // Required method
    fn replace_vertex(
        &self,
        original: &Handle<Vertex>,
        replacement: Handle<Vertex>,
        services: &mut Services
    ) -> ReplaceOutput<Self, Self::BareObject>;
}
Expand description

Replace a Vertex in the referenced object graph

See module documentation for more information.

Required Associated Types§

source

type BareObject

The bare object type that this trait is implemented for

Required Methods§

source

fn replace_vertex( &self, original: &Handle<Vertex>, replacement: Handle<Vertex>, services: &mut Services ) -> ReplaceOutput<Self, Self::BareObject>

Replace the vertex

Object Safety§

This trait is not object safe.

Implementors§