Trait nuit_core::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§