Trait mush::graph::EditableNode [−] [src]

pub trait EditableNode: Clone {
    fn get_label(&self) -> &str;
    fn get_position(&self) -> [f64; 2];
    fn set_position(&mut self, [f64; 2]);
    fn default() -> Self;
}

Required Methods

fn get_label(&self) -> &str

fn get_position(&self) -> [f64; 2]

fn set_position(&mut self, [f64; 2])

fn default() -> Self

Implementors