Trait geo_aid::script::unroll::Node

source ·
pub trait Node: Debug {
    // Required methods
    fn set_display(&mut self, display: bool);
    fn get_display(&self) -> bool;
    fn build(self: Box<Self>, compiler: &mut Compiler, figure: &mut Figure);

    // Provided method
    fn build_unboxed(self, compiler: &mut Compiler, figure: &mut Figure)
       where Self: Sized { ... }
}
Expand description

A node is a trait characterising objects meant to be parts of the figure’s display tree.

Required Methods§

source

fn set_display(&mut self, display: bool)

source

fn get_display(&self) -> bool

source

fn build(self: Box<Self>, compiler: &mut Compiler, figure: &mut Figure)

Provided Methods§

source

fn build_unboxed(self, compiler: &mut Compiler, figure: &mut Figure)
where Self: Sized,

Implementors§