pub trait VertexBuilder {
    fn replace_surface(&mut self, surface: impl Into<Partial<Surface>>);
}
Expand description

Builder API for PartialVertex

Required Methods§

Completely replace the surface in this vertex’ object graph

Please note that this operation will write to every partial object that the vertex references. If any of them were created from full objects, this will break the connection to those, meaning that building the partial objects won’t result in those full objects again. This will be the case, even if those full objects already referenced the provided surface.

Implementors§