Trait map_gui::render::Renderable
source · pub trait Renderable {
// Required methods
fn get_id(&self) -> ID;
fn draw(&self, g: &mut GfxCtx<'_>, app: &dyn AppLike, opts: &DrawOptions);
fn get_outline(&self, map: &Map) -> Tessellation;
fn get_bounds(&self, map: &Map) -> Bounds;
fn contains_pt(&self, pt: Pt2D, map: &Map) -> bool;
// Provided method
fn get_zorder(&self) -> isize { ... }
}