pub trait ShapeInteraction<T> {
    // Required methods
    fn children_of(self, parent: T) -> Drawing;
    fn parent_of(self, children: T) -> Drawing;
}

Required Methods§

source

fn children_of(self, parent: T) -> Drawing

source

fn parent_of(self, children: T) -> Drawing

Implementors§

source§

impl<T, U> ShapeInteraction<U> for Twhere T: Into<Shape>, U: Into<Shape>,