Struct osm_viewer::viewer::Viewer [−][src]
pub struct Viewer { top_panel: Panel, fixed_object_outline: Option<Drawable>, minimap: Minimap<SimpleApp<()>, MinimapController>, businesses: Option<BusinessSearch>, }
Fields
top_panel: Panel
fixed_object_outline: Option<Drawable>
minimap: Minimap<SimpleApp<()>, MinimapController>
businesses: Option<BusinessSearch>
Implementations
impl Viewer
[src]
impl Viewer
[src]pub fn new_state(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>
) -> Box<dyn State<SimpleApp<()>>>
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>
) -> Box<dyn State<SimpleApp<()>>>
fn recalculate_top_panel(
&mut self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
biz_search_panel: Option<Widget>
)
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
biz_search_panel: Option<Widget>
)
fn calculate_tags(&self, ctx: &EventCtx<'_>, app: &SimpleApp<()>) -> Widget
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Viewer
impl !Send for Viewer
impl !Sync for Viewer
impl Unpin for Viewer
impl !UnwindSafe for Viewer
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,