pub trait UpdateShell {
    // Required methods
    fn update_face(
        &self,
        handle: &Handle<Face>,
        f: impl FnMut(&Handle<Face>) -> Handle<Face>
    ) -> Shell;
    fn remove_face(&self, handle: &Handle<Face>) -> Shell;
}
Expand description

Update a Shell

Required Methods§

source

fn update_face( &self, handle: &Handle<Face>, f: impl FnMut(&Handle<Face>) -> Handle<Face> ) -> Shell

Update a face of the shell

source

fn remove_face(&self, handle: &Handle<Face>) -> Shell

Remove a face from the shell

Implementors§