Trait map_gui::render::Renderable[][src]

pub trait Renderable {
    fn get_id(&self) -> ID;
fn draw(&self, g: &mut GfxCtx<'_>, app: &dyn AppLike, opts: &DrawOptions);
fn get_outline(&self, map: &Map) -> Polygon; fn get_zorder(&self) -> isize { ... }
fn contains_pt(&self, pt: Pt2D, map: &Map) -> bool { ... } }

Required methods

Provided methods

Implementors