Trait GenericNodeInfo

Source
pub trait GenericNodeInfo {
    // Required methods
    fn id(&self) -> &NodeId;
    fn get_x(&self) -> PixelCoordinate;
    fn get_y(&self) -> PixelCoordinate;
    fn get_width(&self) -> PixelDimension;
    fn get_height(&self) -> PixelDimension;
    fn color(&self) -> &Option<Color>;
}

Required Methods§

Implementors§