Trait Shape

Source
pub trait Shape {
    type Body: Shape = NeverShape;

    // Provided methods
    fn body(&self) -> Self::Body { ... }
    fn render(&self) -> ShapeNode { ... }
}
Expand description

A composable shape component.

Provided Associated Types§

Provided Methods§

Source

fn body(&self) -> Self::Body

Source

fn render(&self) -> ShapeNode

Implementors§