Struct game::edit::traffic_signals::offsets::TuneRelative [−][src]
struct TuneRelative { i1: IntersectionID, i2: IntersectionID, members: BTreeSet<IntersectionID>, labels: Drawable, }
Fields
i1: IntersectionID
i2: IntersectionID
members: BTreeSet<IntersectionID>
labels: Drawable
Implementations
impl TuneRelative
[src]
impl TuneRelative
[src]pub fn new_state(
ctx: &mut EventCtx<'_>,
app: &App,
i1: IntersectionID,
i2: IntersectionID,
members: BTreeSet<IntersectionID>
) -> Box<dyn State<App>>
[src]
ctx: &mut EventCtx<'_>,
app: &App,
i1: IntersectionID,
i2: IntersectionID,
members: BTreeSet<IntersectionID>
) -> Box<dyn State<App>>
Trait Implementations
impl SimpleState<App> for TuneRelative
[src]
impl SimpleState<App> for TuneRelative
[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]
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)
pub fn draw_baselayer(&self) -> DrawBaselayer
Auto Trait Implementations
impl !RefUnwindSafe for TuneRelative
impl !Send for TuneRelative
impl !Sync for TuneRelative
impl Unpin for TuneRelative
impl UnwindSafe for TuneRelative
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>,