Struct mush::toolpane::ToolPane [−] [src]

pub struct ToolPane<N: EditableNode, E: EditableEdge, F> {
    // some fields omitted
}

Methods

impl<N: EditableNode, E: EditableEdge, F: Fn(Graph<N, E>)> ToolPane<N, E, F>

fn new(offset: UiId, source_graph: &Graph<N, E>) -> ToolPane<N, E, F>

fn on_save(&mut self, on_save: F)

fn build_ui(&mut self, ui: &mut Ui<GlyphCache>)

fn save(&self) where F: Fn(Graph<N, E>)