pub trait Shape {
type Body: Shape = NeverShape;
// Provided methods
fn body(&self) -> Self::Body { ... }
fn render(&self) -> ShapeNode { ... }
}
Expand description
A composable shape component.
pub trait Shape {
type Body: Shape = NeverShape;
// Provided methods
fn body(&self) -> Self::Body { ... }
fn render(&self) -> ShapeNode { ... }
}
A composable shape component.