Trait map_gui::render::Renderable
source · [−]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 { ... }
}