Struct map_gui::render::turn::DrawMovement [−][src]
pub struct DrawMovement { pub id: MovementID, pub hitbox: Polygon, }
Fields
id: MovementID
hitbox: Polygon
Implementations
impl DrawMovement
[src]
impl DrawMovement
[src]pub fn for_i(
prerender: &Prerender,
map: &Map,
cs: &ColorScheme,
i: IntersectionID,
idx: usize
) -> Vec<(DrawMovement, GeomBatch)>
[src]
prerender: &Prerender,
map: &Map,
cs: &ColorScheme,
i: IntersectionID,
idx: usize
) -> Vec<(DrawMovement, GeomBatch)>
pub fn draw_selected_movement(
&self,
app: &dyn AppLike,
batch: &mut GeomBatch,
next_priority: Option<TurnPriority>
)
[src]
&self,
app: &dyn AppLike,
batch: &mut GeomBatch,
next_priority: Option<TurnPriority>
)
Auto Trait Implementations
impl RefUnwindSafe for DrawMovement
impl Send for DrawMovement
impl Sync for DrawMovement
impl Unpin for DrawMovement
impl UnwindSafe for DrawMovement
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>,