Struct map_editor::App [−][src]
pub(crate) struct App { model: Model, }
Fields
model: Model
Trait Implementations
impl SharedAppState for App
[src]
impl SharedAppState for App
[src]fn dump_before_abort(&self, canvas: &Canvas)
[src]
fn before_quit(&self, canvas: &Canvas)
[src]
pub fn before_event(&mut self)
pub fn draw_default(&self, &mut GfxCtx<'_>)
pub fn free_memory(&mut self)
impl SimpleState<App> for EditRoad
[src]
impl SimpleState<App> for EditRoad
[src]fn on_click(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut App,
x: &str,
panel: &Panel
) -> Transition<App>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut App,
x: &str,
panel: &Panel
) -> Transition<App>
fn other_event(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App
) -> Transition<App>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App
) -> Transition<App>
fn draw(&self, g: &mut GfxCtx<'_>, _: &App)
[src]
fn draw_baselayer(&self) -> DrawBaselayer
[src]
pub fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
pub fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Auto Trait Implementations
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl Unpin for App
impl UnwindSafe for App
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>,