Struct osm_viewer::viewer::BusinessSearch [−][src]
struct BusinessSearch { counts: Counter<String>, show: BTreeSet<String>, highlight: Drawable, hovering_on_amenity: Option<(String, Drawable)>, }
Fields
counts: Counter<String>
show: BTreeSet<String>
highlight: Drawable
hovering_on_amenity: Option<(String, Drawable)>
Implementations
impl BusinessSearch
[src]
impl BusinessSearch
[src]fn new(ctx: &mut EventCtx<'_>, app: &SimpleApp<()>) -> BusinessSearch
[src]
fn update(&mut self, ctx: &mut EventCtx<'_>, app: &SimpleApp<()>)
[src]
fn hovering_on_amenity(
&mut self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
amenity: Option<String>
)
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
amenity: Option<String>
)
fn render(&self, ctx: &mut EventCtx<'_>) -> Widget
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BusinessSearch
impl !Send for BusinessSearch
impl !Sync for BusinessSearch
impl Unpin for BusinessSearch
impl UnwindSafe for BusinessSearch
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>,